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

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

2 Answers 38 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Johann
Top achievements
Rank 1
Johann asked on 10 Jun 2015, 09:19 AM

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 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir Iliev
Telerik team
answered on 12 Jun 2015, 09:19 AM
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!
 
0
Johann
Top achievements
Rank 1
answered on 12 Jun 2015, 01:04 PM
Thank you for reply.
Tags
Scheduler
Asked by
Johann
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Johann
Top achievements
Rank 1
Share this question
or