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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -