Does RadDatePicker allow disabling of client-side validation / parsing

2 posts, 0 answers
  1. mc2000
    mc2000 avatar
    48 posts
    Member since:
    Nov 2009

    Posted 04 Jan 2012 Link to this post

    Referring to this thread:

    http://www.telerik.com/community/forums/aspnet/calendar/server-validation-of-raddatepicker.aspx

    Has this changed in any builds since 2008? We have our own server-side classes with property decorations that handle validation and would like to use it for our validation and error-handling. We want to use the date picker to allow selection but handle the validation ourselves, server-side.

    Thanks for any insights.
  2. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 05 Jan 2012 Link to this post

    Hello,

    You could replace the DateInput of the RadDatePicker with a regular textbox and then validate the textbox value on the server. You can see how the date input can be replaced here (you can remove the client method used for validation if you need to):
    Replace the DateInput component of r.a.d.datepicker with regular asp:textbox

    You can also see how to use a regular textbox with a RadCalendar for picking dates here:
    Shared RadDatePicker

    Regards,
    Tsvetina
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top