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

User should be able to enter the date

3 Answers 40 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Syed Danish
Top achievements
Rank 1
Syed Danish asked on 15 Mar 2010, 12:05 PM
Hi,

How can I allow the user to enter the Date in the Date Picker even without selecting the Date from the Date Picker.

Thanks and Regards,

Syed Danish

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 17 Mar 2010, 04:48 PM
Hi Syed Danish,

You can enter a date directly when you type in the TextBox. In case you want to disable it you can set IsExanble = false.

Kind regards,
Kaloyan
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
Syed Danish
Top achievements
Rank 1
answered on 19 Mar 2010, 07:40 AM
Hi Kaloyan,

I need a water mark text in the RadDatePicker control when the xaml is loaded and should disappear by replacing with the cursor on focus,So that the user can enter the date manually.

Thanks and Regards,

Syed Danish
0
Konstantina
Telerik team
answered on 23 Mar 2010, 05:24 PM
Hi Syed Danish,

Thank you for your question.

You can use a RadMaskedTextBox in the template of the RadDatePicker. The MaskedTextBox has a property EmptyContent="" which will do that work exactly.
Attached I am sending you a sample project in which is illustrated how to bind a MaskedTextBox to a DatePicker.

Please feel free to contact us again if you need further assistance.

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
Syed Danish
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Syed Danish
Top achievements
Rank 1
Konstantina
Telerik team
Share this question
or