Home All Groups Group Topic Archive Search About
Author
4 May 2005 5:16 PM
Scamps
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.

Author
4 May 2005 11:02 PM
Scamps
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.
>
Author
6 May 2005 4:34 PM
jc
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.
> >