Example typo or am I missing something? Type: "webapi"?

2 posts, 0 answers
  1. Christopher
    Christopher avatar
    42 posts
    Member since:
    Jan 2017

    Posted 30 May 2017 Link to this post

    I was following the example on the documentation here.

    The code mentions setting the "type" of the datasource to "webapi", but when you do this you get a script warning: "Unknown DataSource transport type 'webapi'.".

    ...
            pageable: true,
            sortable: true,
            dataSource: {
                type: "webapi",
                transport: {
                    read: {
    ...

     

    Not sure if this a typo or just out of date.

  2. Stefan
    Admin
    Stefan avatar
    2821 posts

    Posted 01 Jun 2017 Link to this post

    Hello Christopher,

    Thank you for reporting this.

    The webapi type is intended to be used with the Kendo UI for ASP.NET MVC and it requires the kendo.aspnetmvc.min.js script file.


    More information can be found in the following forum thread:

    http://www.telerik.com/forums/kendoui-grid-with-webapi

    I will update the documentation, that the mentioned file is required for this approach.

    Additionally, I updated your Telerik points for bringing this to our attention.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top