RAD DatePicker

2 posts, 0 answers
  1. Amit
    Amit avatar
    53 posts
    Member since:
    Aug 2012

    Posted 13 Aug 2012 Link to this post

    Hi friends

    I have the function to compare the two date on "Onpopupclosing",

    after comparing two date I displayed the message and after closing that message,

    I want to set the initial date to that datepicker not selected date.

    please help me

  2. Eyup
    Eyup avatar
    4046 posts

    Posted 15 Aug 2012 Link to this post

    Hello Amit,

    Please try the following approach and let me know about the result:
    function popupClosing(sender, args) {
        if (true) { // some custom validation
            setTimeout(resetSelectedDate, 1, [sender.get_id(), sender.get_selectedDate()]);
    function resetSelectedDate(arguments) {

    That should do the trick.

    Kind regards,
    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.
Back to Top