This is a migrated thread and some comments may be shown as answers.

calendar selected date listener

4 Answers 123 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
ramesh
Top achievements
Rank 1
ramesh asked on 03 Dec 2013, 11:42 AM
how do i listen to a  selected date when pre-selected

4 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 03 Dec 2013, 12:17 PM
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!
0
ramesh
Top achievements
Rank 1
answered on 03 Dec 2013, 05:08 PM
 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.
0
Accepted
Dimiter Madjarov
Telerik team
answered on 04 Dec 2013, 08:24 AM
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!
0
ramesh
Top achievements
Rank 1
answered on 04 Dec 2013, 10:25 AM
 Hi Dimiter Madjarov,

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

Thanks and Regards,
Ramesh V.
Tags
Calendar
Asked by
ramesh
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
ramesh
Top achievements
Rank 1
Share this question
or