This is a migrated thread and some comments may be shown as answers.

Enable/disable the DatePopupButton

3 Answers 25 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Pablo
Top achievements
Rank 1
Pablo asked on 19 Sep 2008, 12:31 AM
I want to enable/disable the DatePopupButton using javascript, how do I?

Regards,

Pablo.

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 19 Sep 2008, 06:38 AM
Hi Pablo,

Please review the following forum post, which should help you to acheive this functionality.

Let us know if it helps.

Kind regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dan
Top achievements
Rank 1
answered on 06 Aug 2015, 04:18 PM
The supplied link in the answer on this page is broken. Can someone please either re/answer directly or fix the link?
0
Maria Ilieva
Telerik team
answered on 11 Aug 2015, 11:19 AM
Hi,

Try using the code below:
function disableButton()
{
var datepicker = $find("<%= RadDatePicker1.ClientID %>");
vat button = datepicker.get_popupButton();
button.disable();
}


Regards,
Maria Ilieva
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar
Asked by
Pablo
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Dan
Top achievements
Rank 1
Share this question
or