calendar selected date listener

5 posts, 1 answers
  1. ramesh
    ramesh avatar
    7 posts
    Member since:
    Aug 2013

    Posted 03 Dec 2013 Link to this post

    how do i listen to a  selected date when pre-selected
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 03 Dec 2013 Link to this post

    Hi Ramesh,


    You could bind to the change event of the Calendar widget, which is fired the selected date is changed. It is not fired when a date is set as a value during initialization.

    Is this the information that you were looking for or I could assist you further?

    Regards,
    Dimiter Madjarov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. ramesh
    ramesh avatar
    7 posts
    Member since:
    Aug 2013

    Posted 03 Dec 2013 Link to this post

     Hi Dimiter Madjarov,

    Thanks for your reply, but i need more assist on this. I need a listener where i select the selected date again.

    Present behavior is when i select the selected date again, the change event is not getting triggering.


    Regards,
    Ramesh V.
  5. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 04 Dec 2013 Link to this post

    Hello Ramesh,


    There is no such event in the Calendar widget. As a solution you could bind to the click event of the selected date cell.
    E.g.
    $("#calendar").on("click", "td.k-state-selected", function (e) {
    });

    Regards,
    Dimiter Madjarov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. ramesh
    ramesh avatar
    7 posts
    Member since:
    Aug 2013

    Posted 04 Dec 2013 Link to this post

     Hi Dimiter Madjarov,

    Thank you very much Dimiter Madjarov, it really solved my problem.

    Thanks and Regards,
    Ramesh V.
Back to Top
Kendo UI is VS 2017 Ready