InfoCloud
1/24/2003 7:34:00 AM
The book i'm reading describes User Controls (.ascx files) as similar to
classic ASP include files.
I used to include files dynamically as I needed to improve on reuse.
The book i'm reading only shows me how to add the User Controls during
design time.
Is it possible to have a main page, that includes different User Controls at
runtime, depending upon what the user clicks on?
If so how would I do this?
For example,
The main page would display "Welcome page" User Control
When the user clicks a "MenuA" button on the nav bar, it would display "You
clicked Menu A" User Control.
When the user clicks a "MenuB" button on the nav bar, it would display "You
clicked Menu B" User Control.
And so on.
Thanks in advanced.
InfoCloud