I am dynamically loading usercontrols with Page.LoadControl() and would like to selectively make some of the controls display only. These controls are web forms that contain various elements such as textboxes, dropdown lists, etc. Is it possible to do this at the control level or must I disable each of the elements within the control separately?
Thanks!
I am dynamically loading usercontrols with Page.LoadControl() and would like to selectively make some
Share
If you can group the control and have to enable or disable group you can use panel for this purpose. You will have to enable or disable panel and all controls in it will be enabled or disabled.