Format masking / filtering in RadDatePicker

5 posts, 0 answers
  1. nagendra
    nagendra avatar
    34 posts
    Member since:
    Jan 2009

    Posted 27 Oct 2010 Link to this post

    How can i apply a dateformat mask to RadDatePicker? I am using Rad 2008 Q2
  2. Dimo
    Dimo avatar
    8454 posts

    Posted 28 Oct 2010 Link to this post

    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.

    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
  3. vinod
    vinod avatar
    2 posts
    Member since:
    Jan 2011

    Posted 17 Jan 2011 Link to this post

    how i use the mask property in rad date picker without using masked text box
  4. Tim
    Tim avatar
    9 posts
    Member since:
    Jul 2011

    Posted 31 Oct 2012 Link to this post

    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.
  5. Galin
    Galin avatar
    526 posts

    Posted 05 Nov 2012 Link to this post

    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,
    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.
Back to Top