Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Help! Web User Controls

Reply
Thread Tools

Help! Web User Controls

 
 
Scamps
Guest
Posts: n/a
 
      05-04-2005
I'm struggling real bad.
I have created a WUC with a calandar object in it (Cal.ascx).
I have a second WUC with a DataGrid in it (Events.ascx).
I want to select a date in the Calendar WUC, and use the selection event to
pass the date as a parameter to the WUC containing the datagrid and bind the
resultant data set to the grid and display it
Both WUCs are programatically added to the DeskTopDefault.aspx page.
I just cant find out how to do it. Non of the books I have read even hint at
doing this, yet it seems such a basic concept?? Helppppppp.

 
Reply With Quote
 
 
 
 
Scamps
Guest
Posts: n/a
 
      05-04-2005
Hmmm. No response. I must be well wide of the mark. Looks like I need to
rethink

"Scamps" wrote:

> I'm struggling real bad.
> I have created a WUC with a calandar object in it (Cal.ascx).
> I have a second WUC with a DataGrid in it (Events.ascx).
> I want to select a date in the Calendar WUC, and use the selection event to
> pass the date as a parameter to the WUC containing the datagrid and bind the
> resultant data set to the grid and display it
> Both WUCs are programatically added to the DeskTopDefault.aspx page.
> I just cant find out how to do it. Non of the books I have read even hint at
> doing this, yet it seems such a basic concept?? Helppppppp.
>

 
Reply With Quote
 
 
 
 
jc
Guest
Posts: n/a
 
      05-06-2005
You could save the date in Session and retrieve it in OnPreRender in
Events.asxc

"Scamps" wrote:

> Hmmm. No response. I must be well wide of the mark. Looks like I need to
> rethink
>
> "Scamps" wrote:
>
> > I'm struggling real bad.
> > I have created a WUC with a calandar object in it (Cal.ascx).
> > I have a second WUC with a DataGrid in it (Events.ascx).
> > I want to select a date in the Calendar WUC, and use the selection event to
> > pass the date as a parameter to the WUC containing the datagrid and bind the
> > resultant data set to the grid and display it
> > Both WUCs are programatically added to the DeskTopDefault.aspx page.
> > I just cant find out how to do it. Non of the books I have read even hint at
> > doing this, yet it seems such a basic concept?? Helppppppp.
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net 5 01-10-2007 10:50 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net Building Controls 4 12-21-2006 02:50 AM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Building Controls 1 01-04-2005 04:09 PM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Web Controls 1 01-04-2005 04:09 PM
IntelliSense on Web User Controls and Web Custom Controls Axel Dahmen ASP .Net 1 11-12-2003 06:12 AM



Advertisments