Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > DatePicker > Preserve previous date

Not answered Preserve previous date

Feed from this thread
  • Tom avatar

    Posted on Nov 9, 2011 (permalink)

    In the application I am writing, if you enter an invalid date I want the old value to be presented when you leave the field. Right now the default behavior seems to be to clear the field.

    In other instances I would like to preserve the bad data and highlight the box in some way

    Reply

  • Boyan Boyan admin's avatar

    Posted on Nov 14, 2011 (permalink)

    Hello Tom,

    You can use the ParseDateTimeValue event to handle this scenario. For more info on how to use the event you can check this help article.

    If you are having troubles achieving the desired behavior please let me know and I will provide a sample project.

    Kind regards,
    Boyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > DatePicker > Preserve previous date
Related resources for "Preserve previous date"

Silverlight DatePicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]