asp.net - Disabling controls on a nested user control -


On this UserControl I am using a masterpage, I have a UserStorage, I have another user control If I close the account, then I want to disable all the controls on the account page (user controls including parent and child - archive collection). How do I do this? Thanks

Wrap the section with a panel control. Then set the panel. Competent = false; It will descend down and disable your children too.

HTH


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -