Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Switching UserControl at runtime
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Switching UserControl at runtime
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01497625
Message ID:
01497625
Views:
98
Hi all, I need to be able to dynamically switch between UserControls on a TabPage but am unsure as to how to elegantly achieve this. So far I've tried creating another uc , adding it to the TabPage's control collection and calling the new uc's BringToFront() method. This works but how do I reinstate the original uc ? also I assume the new uc is still in the control collection of the TabPage so how do I reuse it if an when I need to ? or should I remove it ? Hope this makes sense to someone out there - maybe my thought process is screwed ?
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform