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

IsEnabled = false still always editing

2 Answers 66 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Mike Hanson
Top achievements
Rank 1
Mike Hanson asked on 14 Aug 2008, 12:17 PM
When I set the IsEnabled property of the RadDatePicker to false the calender is disabled so the user cannot select a new date but they can edit the textbox.

Setting IsReadOnly to true does not prevent editing either.

2 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav
Telerik team
answered on 14 Aug 2008, 12:45 PM
Hi Michael,

The current template is missing two TemplateBindings, you can find attached a project with an improved template that is more consistent with the other controls and has these bindings.

The IsReadOnly now allows the date to be viewed and selected but not edited, while disabling the control does not allow selection in the TextBox or showing the calendar.

I am sorry for any inconvenience,

Regards,
Miroslav
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike Hanson
Top achievements
Rank 1
answered on 14 Aug 2008, 12:58 PM
Thanks Miroslav, thanks very much for the prompt response
Tags
DatePicker
Asked by
Mike Hanson
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Mike Hanson
Top achievements
Rank 1
Share this question
or