Pressing 'Cancel' in the edit form causes event to dissapear.

4 posts, 0 answers
  1. Bert
    Bert avatar
    2 posts
    Member since:
    Feb 2016

    Posted 15 Feb Link to this post

    Hey guys,

     

    So I have this example where I bind an array to my datasource that contains 2 events:  http://dojo.telerik.com/omEHa

     When I doubleclick any of those 2 events in the scheduler and then press 'Cancel' they still appear in the scheduler window afterwards.

     

    However, this is not the case with manually made events in the scheduler:

    I make a new event manually (by double clicking somewhere empty), give it a title and then press save.Then I doubleclick that new event and press cancel in the edit form immediately. It will cause the new event to be removed. How do I prevent that?

  2. Patrick
    Admin
    Patrick avatar
    172 posts

    Posted 15 Feb Link to this post

    Hi Bert,

    The behavior is actually expected because the cancel button reverts all changes to the previous setting.  The data in the dojo provided is empty, and the event disappears.

    Please take a look at this Telerik Dojo which shows your updated Kendo Scheduler.  The major difference in the updated dojo is the configuration of transport to define my CRUD operations.  

    Hopefully, this helps clear things.

    Regards,
    Patrick
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Bert
    Bert avatar
    2 posts
    Member since:
    Feb 2016

    Posted 17 Feb Link to this post

    Thank you. This is what I was looking for.
  5. Patrick
    Admin
    Patrick avatar
    172 posts

    Posted 17 Feb Link to this post

    Hi Bert,

    I'm glad everything is working well!  

    Regards,
    Patrick
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready