Is it possible to pen an url when event is clicked?

2 posts, 0 answers
  1. ziyahan
    ziyahan avatar
    29 posts
    Member since:
    Dec 2014

    Posted 22 Dec 2014 Link to this post

    Dear All;
    I want to route my users to an url contains more detail related to my clicked event. I think we cannot set it when we configure the event. Is there anyway to solve it? 
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 24 Dec 2014 Link to this post

    Hi Emre,

    You can probably use the change event of the scheduler:

    change: function(e) {
       if (e.events.length > 0) {
          location.href = "/details?id=" + e.events[0].id;
       }
    }

    Regards,
    Atanas Korchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top