473,385 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Master Page Control in DataSource Select Parameter, 2.0

In ASP.NET 2.0, is it possible to use a control that's on a Master Page as a
select parameter in a content page's datasource control? On the content page
in the VWD Configure Data Source wizard (which I love!), I was disappointed
when adding a WHERE clause that the Control ID list in the wizard didn't
include any of the Master Page controls. In the Design view, I can see the
drop down list I want to use on the Master Page, shadowed and just out of
reach! How do I use a Master Page control as a datasource select parameter
for my content pages? I’m afraid it’ll take some coding, which I’m not very
good at yet!
Many thanks for your help and guidance,
David
Nov 19 '05 #1
3 2505
I posted a while back on how Master Pages can be dynamically chosen:

http://staff.develop.com/ballen/blog...c-13818fd75a56

-Brock
DevelopMentor
http://staff.develop.com/ballen
In ASP.NET 2.0, is it possible to use a control that's on a Master
Page as a
select parameter in a content page's datasource control? On the
content page
in the VWD Configure Data Source wizard (which I love!), I was
disappointed
when adding a WHERE clause that the Control ID list in the wizard
didn't
include any of the Master Page controls. In the Design view, I can see
the
drop down list I want to use on the Master Page, shadowed and just out
of
reach! How do I use a Master Page control as a datasource select
parameter
for my content pages? I'm afraid it'll take some coding, which I'm not
very
good at yet!
Many thanks for your help and guidance,
David


Nov 19 '05 #2
"ASP.NET 2.0 Beta Preview" published by WROX and authored by Bill Evjen
founder of ineta has really helped me understand the event model whn using
Master Pages. Very well done as are other aspects Evjen writes about.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

"David" <Da***@discussions.microsoft.com> wrote in message
news:78**********************************@microsof t.com...
In ASP.NET 2.0, is it possible to use a control that's on a Master Page as
a
select parameter in a content page's datasource control? On the content
page
in the VWD Configure Data Source wizard (which I love!), I was
disappointed
when adding a WHERE clause that the Control ID list in the wizard didn't
include any of the Master Page controls. In the Design view, I can see the
drop down list I want to use on the Master Page, shadowed and just out of
reach! How do I use a Master Page control as a datasource select parameter
for my content pages? I'm afraid it'll take some coding, which I'm not
very
good at yet!
Many thanks for your help and guidance,
David

Nov 19 '05 #3
Thanks for the help. Yes, it's an excellent book; very heplful!
DE
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
"ASP.NET 2.0 Beta Preview" published by WROX and authored by Bill Evjen
founder of ineta has really helped me understand the event model whn using
Master Pages. Very well done as are other aspects Evjen writes about.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

"David" <Da***@discussions.microsoft.com> wrote in message
news:78**********************************@microsof t.com...
In ASP.NET 2.0, is it possible to use a control that's on a Master Page
as a
select parameter in a content page's datasource control? On the content
page
in the VWD Configure Data Source wizard (which I love!), I was
disappointed
when adding a WHERE clause that the Control ID list in the wizard didn't
include any of the Master Page controls. In the Design view, I can see
the
drop down list I want to use on the Master Page, shadowed and just out of
reach! How do I use a Master Page control as a datasource select
parameter
for my content pages? I'm afraid it'll take some coding, which I'm not
very
good at yet!
Many thanks for your help and guidance,
David


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mafuba | last post by:
I'm trying to use data sources with data bound controls on one of my pages that's using a master page. The master page has 2 ContentPlaceHolders, and in my page the data sources are in the first...
0
by: David | last post by:
In ASP.NET 2.0, is it possible to use a control that's on a Master Page as a select parameter in a content page's datasource control? For example, the Master Page has a drop down list of...
3
by: Rick | last post by:
Using VWD, I am attempting to create a basic Master/Detail scenario from a SQL database table that has two primary keys. The Master control I'm using is a GridView, containing a list of records...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
2
by: mike | last post by:
I'm using ASP.NET 2.0 and IIS 6 I've got a business with 2 sites requiring separate intranet info. Currently, I have 2 separate intranet sites set up in IIS. This leads to having to double up on...
1
by: yoknows | last post by:
Hello .Net Gurus. This is my first post here so I apologize in advance if I have not provided the right information. I hope someone has seen this problem before and can tell me what I am doing...
2
by: SR | last post by:
I have started a web site using ASP.NET 2.0. I would like to centralize all of my classes in a StyleSheet but I cannot figure out how to link the StyleSheet to a Content Page since there is no...
6
by: mike | last post by:
I'm having a problem getting AJAX working with a master page. I have created a new website using the AJAXControlToolkit template and default.aspx as follows. <%@ Page Language="C#"...
0
by: robgallen | last post by:
I have 2 user controls within a master page, and I would like one of them to call a function in the other. All the examples I have seen involve a page communicating with the Master page, or with...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.