Can someone tell me how I can disable all controls within a div?
The div is set to runat=”server”
Many thanks for your help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You probably want to use a Panel control (which renders a
<div>), have those controls you want disabled contained within it and then set the Panel’sEnabledproperty tofalse.