No "dataSource.transport.create" executed after drop an event from a grid

3 posts, 1 answers
  1. Johann
    Johann avatar
    28 posts
    Member since:
    Jun 2015

    Posted 10 Jun 2015 Link to this post

    Hi,

    I try to drag an Event from a grid and to drop it on the Scheduler. This is working so far but there is a Problem with the datasource.Transfer.create Event. The Event will not be fired so can't insert the data in my backend Database.

    Here is how i do it: http://dojo.telerik.com/IJesA

  2. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 12 Jun 2015 Link to this post

    Hello Johann,

    Please note that the dataSource sends records through the create action only if their ID field match the default value for it's type. All records that have valid IDs will be send through the update action. That why you should set the "einsatz_id" field to 0 in the "drop" event.

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Johann
    Johann avatar
    28 posts
    Member since:
    Jun 2015

    Posted 12 Jun 2015 in reply to Vladimir Iliev Link to this post

    Thank you for reply.
Back to Top