I'm having trouble getting the read using a POST in a kendo.data.DataSource working. It works fine for me using jQuery's $.ajax function, but not in the transport.read of Kendo's DataSource.
Here is the code running:
http://jsfiddle.net/jmowox1k/1/
It makes two Ajax calls, the first using jQuery way and the second using the Kendo way. It sends the data as "application/x-www-form-urlencoded; charset=UTF-8".
The submitted form data is:
PropertyNumber=123&Address=1313+Mockingbird+Lane&AtRisk=Yes&FuelFacility=No&PropertyName=The+Munsters&City=Los+Angeles&Rec=Yes&DryCleaner=No&DCType=2&State=CA&OngoingEnv=1&ProjectType=2
I've attached two screenshots of Chrome's Developer Tools. Using jQuery, it looks perfect, but using the Kendo DataSource, it's all mangled.
I guess I can just use the jQuery way and everything would fine, but I want to understand why recommended way doesn't work.
What am I doing wrong?