Loading ascx file in user control

R

Ron

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
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top