I've seen references to "odata" and "aspnetmvc-ajax", but what are the others? I'm specifically looking for the default type that would be called manually in: kendo.data.transports["somevalue"]
3 Answers, 1 is accepted
0
Iliana Dyankova
Telerik team
answered on 10 Aug 2012, 11:06 AM
Hello Brian,
Odata is the only one type that should be used by end users. Aspnetmvc-ajax is used by Kendo UI Complete for ASP.NET MVC to perform the Ajax binding and we do not recommend to use it on its own.
I hope this information helps.
Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
What is the default parameterMap if no function is specified? I'm asking this because I need to specify a parameterMap function for update calls, but want to allow the default parameterMap for read calls.
0
Atanas Korchev
Telerik team
answered on 13 Aug 2012, 02:55 PM
Hello,
The default parameter map returns the options as they are. You can do something like this:
parameterMap: function(options, type) {
if (type != "update") {
return options;
}
// map the data as you wish
}
Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!