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
Post a Comment