Dynamically invisible user control
hai
i created 2 user controls with list of controls. in my page i am having dropdown to select for the user control and dynamically creating object for that user control and displaying it.
When i change the selection to display another User control, i am able to hide or put that dynamically generated control visible to false.
Please suggest me in this regard
Thanks and Regards
Vinay Kumar
Re: Dynamically invisible user control
why not export the usercontrols hide method or visible property?
Re: Dynamically invisible user control
The Show, Hide and Visible members of all controls are already public. If you want a control to not be visible then set its Visible property to false or call its Hide method.