Gantt - dataProcessor + ASP.NET MVC 4

Hi ,

I’m using the dataProcessor on the Gantt control, and it fetches the data fine, but the form values during update seems to be in a strange format.

See attached image.

First of all I expected the TaskModel object to be populated, and then also see that strange key names in the form collection.

Will I have to parse the form collection and manually to a left to right assignment to the TaskModel?

I would appreciate your advice/suggestions.

Regards
Jacques

Sorry, see attached.


This is the default mode of the dataprocessor, each property name is prepended with an id of related data object, so multiple items can be updated with a single request.
In order to switch dataprocessor to a single-record mode(which is expected by server-side helpers), use following code[code]//regular init
var dp = new dataProcessor(“url”);
dp.init(gantt);

//important!
dp.setTransactionMode(“POST”, false);[/code]

Thank you very much.