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

Clicking a date block in month view

3 Answers 19 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 26 Oct 2010, 07:47 PM
I need to implement logic when the date block for a day within a scheduler month view is clicked.

According to the documentation, the "TimeSlotContextMenuItemClicked" should fire when that happens, but none of the available scheduler events are firing.

The "NavigationCommand" event fires when the day number is clicked (in the upper-left corner of the day block), but how do I wire up the date block itself?

Rich Sorensen

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Oct 2010, 04:09 PM
Hello Richard,

You can handle OnClientTimeSlotClick.

Kind regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rich
Top achievements
Rank 1
answered on 29 Oct 2010, 04:27 PM
This seems to be a client-only event, so I will therefore need to create JS code to capture the date value and create a custom postback, correct?
0
Accepted
Peter
Telerik team
answered on 04 Nov 2010, 10:30 AM
Hello Richard,

If you need to perform a server side action for OnClientTimeSlotClick, you can use the approach from this topic - Manually add an AJAX request to a client-side event.


Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Rich
Top achievements
Rank 1
Answers by
Peter
Telerik team
Rich
Top achievements
Rank 1
Share this question
or