Loading ascx file in user control

Discussion in 'ASP .Net Building Controls' started by Ron, Feb 24, 2006.

  1. Ron

    Ron Guest

    Hi,

    I have multiple controls loaded into one ascx file.
    In that file i have a panel control that holds the user control or ascx file.
    I currently just turn On or Off its visibility state when i want that control
    to visible to the user.

    What i would like to do is just have one control on the page and load the
    correct ascx file to that control in code behind when the user needs to view
    that control.

    Is this possible and do i go about that?

    Thanks,
    Ron
     
    Ron, Feb 24, 2006
    #1
    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. Quentin
    Replies:
    1
    Views:
    489
    Quentin
    Jul 29, 2003
  2. Jason Shohet
    Replies:
    1
    Views:
    486
    Kevin Spencer
    Nov 10, 2003
  3. Holger (David) Wagner
    Replies:
    2
    Views:
    1,945
    Holger (David) Wagner
    Jul 3, 2004
  4. Joe
    Replies:
    1
    Views:
    379
    Jeffrey Tan[MSFT]
    Feb 16, 2004
  5. Replies:
    2
    Views:
    540
Loading...

Share This Page