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 3 2529
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
"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***@discussi ons.microsoft.c om> wrote in message
news:78******** *************** ***********@mic rosoft.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
Thanks for the help. Yes, it's an excellent book; very heplful!
DE
"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:%2******** ********@TK2MSF TNGP14.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***@discussi ons.microsoft.c om> wrote in message news:78******** *************** ***********@mic rosoft.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
content area, and the data bound controls are in the second. The data
bound controls are having a problem seeing the data sources at run time
(even though everything is picked up by the visual studio at design
time).
I get an error message...
|
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 Departments. Content pages are various
Department reports listed in a TreeView control on the Master Page. From 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...
|
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 from the
table in question, with Select enabled. The Detail control is another
GridView. Assume a valid connection string. Here's the control code:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"...
|
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 want
to look at that data and filter it based on what is in it.
I know that this could have been done with data sets and data views in
asp.net 1.1 but how is this done now in asp.net 2.0?
|
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 shared pages which I'd rather not have. Both
sites use a master page and a Menu control bound to a SiteMap.
When a user loads the intranet home page, I want the appropriate Master
Page to load. As both sites are on different subnets, I can...
| |
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 wrong. I have
simplified the problem with the following example:
Using asp.net 2.0, I have a Master page template used on default.aspx.
>From within the Content tags on that page I placed a Datalist. It is
iterating a User control "Inner" with...
|
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 header. I tried to put the
link tag in the Master page, but the classes are not recognized in the
Content Page.
How do I use a StyleSheet with the Content Page?
TIA
|
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#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/
TR/xhtml11/DTD/xhtml11.dtd">
|
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 a user control communicating with the Master
page, not with a user control directly talking to another user
control, bypassing the page itself.
So, I have the following files:
Haep.master - which contains:
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |