I have set the DatePicker to IsReadOnly=true, which stops users from typing in the control.
However, the show calendar button is still active.
How do I disable this?
Thanks
2 Answers, 1 is accepted
0
Masha
Telerik team
answered on 12 Mar 2013, 05:08 PM
Hi Arthur,
You will need to either customize the Template of the control and set the IsReadOnly property of the RadWatermarkTextBox to true or use the Loaded event of the control and set it in the code behind.
The next code snippet shows how the Loaded event should look like:
in the xaml:
I've missed to add another solution to your question.
You could easily disable RadDateTimePicker by setting IsEnabled property to false.
The approach described below prevents user from typing but he still can select the date from the calendar.