This is a migrated thread and some comments may be shown as answers.

What are the possible types of data transports?

3 Answers 188 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Brian Vallelunga
Top achievements
Rank 1
Brian Vallelunga asked on 09 Aug 2012, 07:24 PM
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

Sort by
0
Iliana Nikolova
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!
0
Brian Vallelunga
Top achievements
Rank 1
answered on 10 Aug 2012, 12:56 PM
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!
Tags
Data Source
Asked by
Brian Vallelunga
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Brian Vallelunga
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or