Additional ways of reading/exporting Scheduler data

2 posts, 1 answers
  1. Tate
    Tate avatar
    5 posts
    Member since:
    Jun 2015

    Posted 01 Jul 2015 Link to this post

    So, the basic premise of what I'm trying to accomplish is pulling data about the schedule of events from the Telerik Scheduler to use in other contexts. 

    For example, let's say that I want to be able to call some MVC action and pass in all of the titles for the events that are scheduled for today.

    Or, as another example, let's say that each event is assigned to an owner (this is an event for Employee1, this other event is for Employee2, etc.) I want to be able to display all of the dates for scheduled events for a certain employee in a custom HTML solution; something along the lines of what the Agenda view looks like, but NOT inside of the Scheduler view. 

    Is there a way to pull the data from the Scheduler to do these things? One solution would be to just get the event data from the database and parse the info from there. However, this would obviously require a bunch of extra logic when it comes to recurring events and figuring out which days of the week in which months those recurring events would occur. I would like to avoid having to figure that stuff out since it the Telerik Scheduler is already handling that logic anyways. 

  2. Answer
    Vladimir Iliev
    Vladimir Iliev avatar
    2155 posts

    Posted 03 Jul 2015 Link to this post

    Hi Tate,

    It seems you are looking for a way to get the expanded events from the Scheduler - if this is the case than you can use the newly introduced "data" method of the Scheduler. 

    var scheduler = $("#scheduler").getKendoScheduler();
    //result: 5 --> evens expanded for currently visible date range
    //result: 55 --> all events

    Vladimir Iliev
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET AJAX banner
Back to Top