Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
Webdatepicker disable is not working using javascript
posted

Hi , I am using Infragistics WebDatePicker My Java script function code is like this function

isLastSigDateChecked()

{

if (document.getElementById("<%= chkLastSigDate.ClientID %>").checked == true)

{

var datapicker = $find("datLastSigDate");

datapicker.set_enabled(true);

}

else

{

var datapicker = $find("datLastSigDate"); datapicker.set_enabled(false);

} }

  But it is not working for me,i followed this code as per the Post posted from Infragistics Forums

I am getting the error in this line

datapicker.set_enabled(false);

so how to enable the webdatepicker when one checkbox checked=true

and to disable the webdatepicker when one checkbox checked=false

please let me know as quick response

Any Answer will be appreciated

thank you

Parents
No Data
Reply Children