Passing Parameters to user control within another user control

Discussion in 'ASP .Net Web Controls' started by hmikki, Oct 5, 2007.

  1. hmikki

    hmikki Guest

    Hello -

    I am dynamically loading a user control (Ctrl2) within another user
    control (Ctrl1). Now, I need to pass parameters from Ctrl1 to Ctrl2.
    How do I do this?
    Thanks much.
     
    hmikki, Oct 5, 2007
    #1
    1. Advertising

  2. I would declare the necessary Properties in Ctrl2, this will allow you to
    set the properties regardless of where you load the UserControl from.
    --
    Nathan Sokalski

    http://www.nathansokalski.com/

    "hmikki" <> wrote in message
    news:...
    > Hello -
    >
    > I am dynamically loading a user control (Ctrl2) within another user
    > control (Ctrl1). Now, I need to pass parameters from Ctrl1 to Ctrl2.
    > How do I do this?
    > Thanks much.
    >
     
    Nathan Sokalski, Oct 19, 2007
    #2
    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. qwerty
    Replies:
    3
    Views:
    9,312
    Scott Allen
    Sep 30, 2004
  2. TB
    Replies:
    2
    Views:
    4,206
  3. Paul
    Replies:
    3
    Views:
    3,704
  4. Ramon F Herrera
    Replies:
    8
    Views:
    497
    Pascal J. Bourguignon
    Sep 13, 2009
  5. Mike
    Replies:
    1
    Views:
    128
    monkey
    Dec 2, 2003
Loading...

Share This Page