So this is my first run at using the scheduler. Got it up and got it populated using the MVC 5 wrapper. However, when I go to "cancel" out of the details popup -- the event on the calendar disappears. Any ideas how to prevent this? Thanks!!
1 Answer, 1 is accepted
answered on 14 Aug 2014, 12:13 PM
Welcome aboard Tim!
What you described could happen in case the event's ID field is not updated. Basically, new events are created with ID = 0 (unless specified otherwise), then unique ID should be assigned on the server and sent back to the client. If the server does not return an objects with updated ID, then the Scheduler's DataSource will treat that event as new, despite that it was saved, so it will be removed when closing the edit popup. I would recommend checking this article, as well as our offline examples, which are located in the Kendo UI installation path, under the \wrappers\aspnetmvc\Examples directory.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.