Asynchronous Validation

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    6 posts
    Member since:
    Jan 2011

    Posted 01 Mar 2011 Link to this post

    We need to be able to enter shorthand date formats or identifiers which can be validated asynchronously via a web service which does not seem to be possible with the current validation flow. We do not want this validation to occurr on every key press but instead when the control loses focus / return is pressed.

    For example, the user would need to be able to enter "1M" for 1 month which we need to pass to a backend server which calculates the closest appropriate valid date and returns this, from which we can then populate the date picker control. Whilst this is happening the control currently displays the default previous valid date instead of the entered text of "1M" which we would like the control to display until the result is received.

    Additionally we would like the ability to display this custom text in the date picker instead of the actual date. Is it possible to override the text box?
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 03 Mar 2011 Link to this post

    Hello Andrew,

    Follow the attached sample application.

    Kind regards,
    Kaloyan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
Back to Top