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

How to disable input

3 Answers 135 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 20 Feb 2010, 02:26 AM
Hi ...
How disable input the drop down of the calender.
IsReadonly doesn't seem to prevent this.

I want to lock the control...

thanks again!!!!!!!!!!!!

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 23 Feb 2010, 04:22 PM
Hi Jon The Nerd,

Thank you for contacting us.

Could you please be more specific what exactly you want to disable? Is it the drop down of the calendar, or the dates of the calendar, or something else? Sending us a screenshot with explanation will be very helpful.

Looking forward to your reply.

All the best,
Konstantina
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Jon
Top achievements
Rank 1
answered on 23 Feb 2010, 04:44 PM
Hi..
I want to disable the entire control.. so even the drop down calendar can't be accessed.. Currently you can access the calendar and select with READONLY = true;

How can I also default the INPUT to a blank ?   When the control is loaded?  thanks again
0
Accepted
Konstantina
Telerik team
answered on 26 Feb 2010, 02:15 PM
Hi Jon,

Thank you for the question.

To achieve that you have to edit the DatePicker in Blend Expression. There select the control, right-click on it and choose from the menu Edit Template->Edit a Copy. Blend will generate the style of the DatePicker. There in the popup, which holds the Calendar control, set the IsEnabled property to False. That will disable the accessing of the Calendar.

Attached you will find a sample project in which that is illustrated.

All the best,
Konstantina
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
DatePicker
Asked by
Jon
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Jon
Top achievements
Rank 1
Share this question
or