Issue 1878: Problem getting event id on drag and drop
Status:  Invalid
Owner: ----
Closed:  Aug 2013
Reported by nmadd...@bluggysoft.com, Jun 18, 2013
 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
(No comment was entered for this change.)
Status: Invalid