Clicking a date block in month view

4 posts, 1 answers
  1. Rich
    Rich avatar
    25 posts
    Member since:
    Jun 2010

    Posted 26 Oct 2010 Link to this post

    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
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 29 Oct 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rich
    Rich avatar
    25 posts
    Member since:
    Jun 2010

    Posted 29 Oct 2010 Link to this post

    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?
  5. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 04 Nov 2010 Link to this post

    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
Back to Top