Enabling / Disabling .Net Validation Controls in Javascript
The below piece of code will help to enable for disable validation controls in .Net
var myValidator1 = document.getElementById('ctl00_cphBody_ReqFldValid');
ValidatorEnable(myValidator1, bool);
The ValidatorEnable contains two parameters.The first is for passing the Control ID and the other a boolean variable True or False to make it enable or disable
var myValidator1 = document.getElementById('ctl00_cphBody_ReqFldValid');
ValidatorEnable(myValidator1, bool);
The ValidatorEnable contains two parameters.The first is for passing the Control ID and the other a boolean variable True or False to make it enable or disable
Labels: Enabling / Disabling .Net Validation Controls in Javascript, Enabling validation controls
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home