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

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

3 Answers 126 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Bert
Top achievements
Rank 1
Bert asked on 15 Feb 2016, 02:04 PM

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?

3 Answers, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 15 Feb 2016, 05:33 PM
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!
 
0
Bert
Top achievements
Rank 1
answered on 17 Feb 2016, 09:56 AM
Thank you. This is what I was looking for.
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 17 Feb 2016, 04:08 PM
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!
 
Tags
Scheduler
Asked by
Bert
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Bert
Top achievements
Rank 1
Share this question
or