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. Advertisements

  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, Oct 19, 2007
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.