Last post May 05, 2015 03:45 AM by Zhi Lv - MSFT
Apr 30, 2015 07:57 AM|Manjeet24|LINK
I want to enable/Disable datepicker that is an user control in asp.net by java script,
It is displaying ID of user control but cannot be disable or enable the control.
Apr 30, 2015 08:31 AM|Rion Williams|LINK
You might consider posting what your source looks like (i.e. View Source) for the element in question and specify which element you are trying to disable.
May 05, 2015 03:45 AM|Zhi Lv - MSFT|LINK
As Roin said, will you please post some relevant code,
it might be easier for us to guide you and help you.
From your description, if you are using jquery datepicker plugin, you could try to use the following code to enable/disable the datepicker.
$(".selector" ).datepicker( "option", "disabled" );
For more details, please refer to the following links: