RadMaskedTextBox for Date Entry

2 posts, 0 answers
  1. Samir Vaidya
    Samir Vaidya avatar
    8 posts
    Member since:
    Feb 2005

    Posted 07 May 2011 Link to this post

    I would like to create a RadMaskedTextBox for Date of Birth Entry.  However, if I simply use a mask of ##/##/####, this will allow values which are potentially invalid numbers.  Is there a mask that I can use for a Date of Birth entry like <1..12>/<1..31>/<1920..DateTime.Now.Year>?

    Thanks.  
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 10 May 2011 Link to this post

    Hi Samir,

    I recommend you use RadDateInput directly for date entries instead of RadMaskedTextBox. It will automatically indicate whether an invalid date is entered by the end user and will allow solely date values.

    Best regards,
    Sebastian
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top