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

Format masking / filtering in RadDatePicker

4 Answers 173 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
nagendra
Top achievements
Rank 1
nagendra asked on 27 Oct 2010, 07:49 PM
How can i apply a dateformat mask to RadDatePicker? I am using Rad 2008 Q2

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 28 Oct 2010, 11:43 AM
Hello Nagendra,

I am afraid the RadDateInput control (the datepicker textbox) cannot have a mask. Apart from checking entered characters in KeyPress, you can set the textbox to be readonly, so that users only pick dates from the Calendar popup. Use the RadDatePicker's EnableTyping property.


Regards,
Dimo
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
vinod
Top achievements
Rank 1
answered on 17 Jan 2011, 02:02 PM
how i use the mask property in rad date picker without using masked text box
0
Tim
Top achievements
Rank 1
answered on 31 Oct 2012, 07:51 AM
Hi Dimo,

I can't see the RadDatePicker's EnableTyping property to make it read only. Could you please guide me on how can I proceed with making the text box of the RadDatePicker readonly.
0
Galin
Telerik team
answered on 05 Nov 2012, 08:01 AM
Hi James,

The property EnableTyping disables typing in the date input box, but you are still able to choose a date from the popup button.

I can suggest you to use the property Enabled, e.g.

<telerik:RadDatePicker ID="RadDatePicker1" runat="server" Enabled="false" />

I hope this helps.

Kind regards,
Galin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Calendar
Asked by
nagendra
Top achievements
Rank 1
Answers by
Dimo
Telerik team
vinod
Top achievements
Rank 1
Tim
Top achievements
Rank 1
Galin
Telerik team
Share this question
or