Rank: Member Groups: Member
Joined: 10/11/2007 Posts: 12
|
Hi
I have a need to disable a datepicker using javascript. All VS controls disable fine, but for the datepicker an error is generated in the script saying that the datepicker is null or not an object.
Any idea how this can be accomplished.
Thanks Brandon
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Brandon,
You won't be able to do that on the client side via JavaScript. You will need to set the DatePicker's Enabled property to false on the server side.
Thanks
|