c# - How to Do the total web form in disable mode -
i having web page consist of 130 drop downs
, 100 check box list
. total no of lines 7500. page used user view
receiving query string
other page. starting each , every control.enable = false
taking time. how it.thanks in advance.
i found not possible make whole form disable once i.e form does't have attribute disabled. can go below function , call function on body onload.
function disable() { var limit = document.forms[0].elements.length; (i=0;i<limit;i++) { document.forms[0].elements[i].disabled = true; } }
Comments
Post a Comment