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

RadMaskedTextBox for Date Entry

1 Answer 297 Views
Input
This is a migrated thread and some comments may be shown as answers.
Samir Vaidya
Top achievements
Rank 1
Samir Vaidya asked on 07 May 2011, 08:09 PM
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.  

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 10 May 2011, 11:19 AM
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.

Tags
Input
Asked by
Samir Vaidya
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or