| Issue 1878: | Problem getting event id on drag and drop | |
| 1 person starred this issue and may be notified of changes. | Back to list |
We are trying to create store the events in a database and they have a primary key.
We are able to set the EventId in and load up the calendar correctly. Here is an example where we create an event:
.....
_event.EventID = 1218;
_event.Description = "Meet with john";
_event.Notes = "business discussion";
eventCollection.Add(_event);
........
Now if they drag it we want to know the EvnertId so we can update the database. We are able to capture the drag event and see the title but not the EventID.
eventRender: function (event, element) {
debugger
$.ajax({
url: '@Url.Action("About", "Home")',
data: { 'EventID' : event.EventID, 'Description' : event.title, 'StartTime' : event.start }
I want to persist the EventID so I can relate back to the correct record in the database.
Can any one help on how I can use this control with a database backed?
Thanks in advance for any help!
Aug 24, 2013
Project Member
#1
adamrs...@gmail.com
Status:
Invalid
|
|
| ► Sign in to add a comment |