|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Help! Web User ControlsI'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. Hmmm. No response. I must be well wide of the mark. Looks like I need to
rethink Show quoteHide quote "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. > You could save the date in Session and retrieve it in OnPreRender in
Events.asxc Show quoteHide quote "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. > >
How to get the HtmlForm element of an ASP.NET Page?
CreateUserWizard Control Hidden Controls yield inconsistent behavior on Postbacks DropDownList - Programmatically setting the background colour of i Automatic updating an ASPX page Drop down list viewstate; please HELP! Can I set initial focus from server-side into textbox? custom webcontrol : render and then get "html" result in server side HOWTO: Bring that row back into focus ... Adding control to datagrid |
|||||||||||||||||||||||