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
435
WebDatePicker not completely disabled
posted

I need a WebDatePicker control to be disabled when a check box is not selected.  I have the following JavaScript that is called when the check box is selection is changed:

    function enableDisable(bEnable, controlID1) {
        if (document.getElementById(controlID1) != null) {
            document.getElementById(controlID1).disabled = !bEnable
        }
    }

This does enable and disable the control somewhat.  The user cannot click and get the pop-up calendar, but they are still able to type in the text portion of the control.  Is there a way to prevent this when it is disabled?

Thanks,

Jeff

Parents
No Data
Reply Children
No Data