Readonly Property to All Controls
-
I need to set all control t0 "Readonly" mode Except the Label in Page. The structure of the control is Panel-->div-->Table-->TableRow-->TableCell-->Controls Here Controls are 1)RadioButtonList(10) 2)DropDownList(10) 3)Textbox(15) 4)Checkbox(5). total i have 40 controls... Please suggest me how to set the Readonly Property Generic for all controls. Thanks in Advance.
JohnDas
-
I need to set all control t0 "Readonly" mode Except the Label in Page. The structure of the control is Panel-->div-->Table-->TableRow-->TableCell-->Controls Here Controls are 1)RadioButtonList(10) 2)DropDownList(10) 3)Textbox(15) 4)Checkbox(5). total i have 40 controls... Please suggest me how to set the Readonly Property Generic for all controls. Thanks in Advance.
JohnDas
Did you see the responses to your previous post on the same topic? Need to Set Readonly Property to ChildControls[^]
-
I need to set all control t0 "Readonly" mode Except the Label in Page. The structure of the control is Panel-->div-->Table-->TableRow-->TableCell-->Controls Here Controls are 1)RadioButtonList(10) 2)DropDownList(10) 3)Textbox(15) 4)Checkbox(5). total i have 40 controls... Please suggest me how to set the Readonly Property Generic for all controls. Thanks in Advance.
JohnDas
You will need to loop through all the cells and then set there property. You can also place a transparent div over the panel so that controls beneath will be visible but not accessible (something like what happens in case of pop up).
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!