How to enable/disable many controls together?

Setting the Panel to disabled would work for asp Controls like CheckBox but not for an input with runat=server. This checkbox is disabled because the panel has Enabled=false.

Setting the Panel to disabled would work for asp Controls like CheckBox but not for an input with runat=server. This checkbox is disabled because the panel has Enabled=false: You could also easily fix this with jquery (client side): $('#mypanelClientID inputtype=checkbox'). Attr('disabled', true).

Using JavaScript you may do something like this : var controls = document. GetElementById(""). GetElementsByTagName("input"); for (var I = 0; I Length; i++) controlsi.

Disabled = true; Note that ASP. Net produces dynamic Id's for server side controls (panel here ) , that tends to use document. GetElementById("") above.

– French Boy Aug 2 at 7:34 That's possible, you could write a custom control for that. But is there a reason you don't use asp:CheckBox instead of your checkbox? – Willem Aug 2 at 7:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions