Events Disappear after canceling the detail modal - HELP!

2 posts, 0 answers
  1. Tim
    Tim avatar
    3 posts
    Member since:
    Jun 2014

    Posted 12 Aug 2014 Link to this post

    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!!
  2. Alexander Popov
    Alexander Popov avatar
    1411 posts

    Posted 14 Aug 2014 Link to this post

    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.

    Alexander Popov

    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.

  3. UI for ASP.NET AJAX banner
Back to Top