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

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. John Cosmas
    Replies:
    3
    Views:
    12,104
    anandkavi
    Oct 20, 2010
  2. John Blair
    Replies:
    2
    Views:
    819
    John Blair
    Jan 29, 2005
  3. =?Utf-8?B?TWlsYW5C?=
    Replies:
    3
    Views:
    1,976
    =?Utf-8?B?TWlsYW5C?=
    Jun 27, 2005
  4. osi_nl
    Replies:
    0
    Views:
    1,339
    osi_nl
    Aug 19, 2006
  5. Bert
    Replies:
    3
    Views:
    2,197
    Juan T. Llibre
    Dec 12, 2006
  6. Mr Not So Know It All
    Replies:
    5
    Views:
    1,536
    Mr Not So Know It All
    Dec 28, 2006
  7. Filippo
    Replies:
    1
    Views:
    242
    Robert Koritnik
    Jun 14, 2004
  8. dotnet_nut

    asp.net 2.0 Wizard Control and User Control (.ascx)

    dotnet_nut, Oct 24, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    391
    dotnet_nut
    Oct 24, 2006
Loading...