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

Date input validation

1 Answer 67 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 06 Jan 2012, 03:59 PM
Hi,

I am trying to put validation on date input of raddatepicker.

I am having a wb page which have a master page too. I have added a raddatepicker control in it which is not a required field.

I want to validate data entered by user in date input of the control manually.

Eg. If user enters some text value in date input and clicks on save button then I want to display 'Invalid date' to user.

I have checked the project shared on http://www.telerik.com/community/code-library/aspnet-ajax/calendar/validation-of-non-mandatory-datepicker-control.aspx. But this code is not working if the web page have masterpage file included.

I suppose,datepicker control is not found in this case.

Can you please help me in this case.

Sample code for this will be a great help. :)

1 Answer, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 09 Jan 2012, 05:53 PM
Hi,

I have assembled a sample project demonstrating the desired functionality including the master page scenario. You could use the project for reference for your application implementation.

Regards,
Antonio Stoilkov
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
Prashant
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Share this question
or