Help! Web User Controls

Discussion in 'ASP .Net Web Controls' started by Scamps, May 4, 2005.

  1. Scamps

    Scamps Guest

    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.
     
    Scamps, May 4, 2005
    #1
    1. Advertising

  2. Scamps

    Scamps Guest

    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.
    >
     
    Scamps, May 5, 2005
    #2
    1. Advertising

  3. Scamps

    jc Guest

    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.
    > >
     
    jc, May 6, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Axel Dahmen
    Replies:
    1
    Views:
    533
    Teemu Keiski
    Nov 12, 2003
  2. Nathan Sokalski
    Replies:
    5
    Views:
    1,065
    Gaurav Vaish \(www.Edujini-Labs.com\)
    Jan 10, 2007
  3. Faizan Ahmed
    Replies:
    1
    Views:
    306
    John Saunders
    Jan 4, 2005
  4. Nathan Sokalski
    Replies:
    4
    Views:
    329
    Nathan Sokalski
    Dec 21, 2006
  5. Faizan Ahmed
    Replies:
    1
    Views:
    384
    John Saunders
    Jan 4, 2005
Loading...

Share This Page