Hello Telerik team,
is it possible to stop the selection of a day in month view?
I'm using the Scheduler control and I'm using the OnClientTimeSlotClick property to overwrite the behaviour of the scheduler control when a day in the month view is clicked (I'm generating an own ajax request, save the selected day in the session variable and use an own css class to change the background of this day in the month view).
This works fine.
Furthermore I have supressed the default behaviour if the day in the date header is clicked, so the scheduler will not change to the day view with the selected day.
This works fine also.
But one problem is still there. If the date header of a day in month view is now clicked (NOT the day number and NOT one of the other <tr> which are used to render the day in the month view), then the hole day will have assigned the 'rsSelected' css class (and in my example a deep blue background will be use), BUT the OnClientTimeSlotClick event WILL NOT FIRE. That means my own javascript function will not be called AND the new selected day will not be saved in the session variable.
Is there a way to prevent this? I mean to fire the right event so my own java function for the OnClientTimeSlotClick event will be called?
Greetings,
Richard Huber.
is it possible to stop the selection of a day in month view?
I'm using the Scheduler control and I'm using the OnClientTimeSlotClick property to overwrite the behaviour of the scheduler control when a day in the month view is clicked (I'm generating an own ajax request, save the selected day in the session variable and use an own css class to change the background of this day in the month view).
This works fine.
Furthermore I have supressed the default behaviour if the day in the date header is clicked, so the scheduler will not change to the day view with the selected day.
This works fine also.
But one problem is still there. If the date header of a day in month view is now clicked (NOT the day number and NOT one of the other <tr> which are used to render the day in the month view), then the hole day will have assigned the 'rsSelected' css class (and in my example a deep blue background will be use), BUT the OnClientTimeSlotClick event WILL NOT FIRE. That means my own javascript function will not be called AND the new selected day will not be saved in the session variable.
Is there a way to prevent this? I mean to fire the right event so my own java function for the OnClientTimeSlotClick event will be called?
Greetings,
Richard Huber.