Error in documentation of Ajax mode

2 posts, 0 answers
  1. James
    James avatar
    4 posts
    Member since:
    Feb 2014

    Posted 26 Nov 2014 Link to this post

    Was just running through some documentation.  Found that the "Example - enable client data processing (Razor)" section of the Ajax binding documentation has an error in the placement of the .ServerOperation(false).  (http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/ajax-binding)

    The example code should read:

    @(Html.Kendo().Grid<KendoGridAjaxBinding.Models.Product>()
      .Name("grid")
      .DataSource(dataSource => dataSource
        .Ajax()
        .ServerOperation(false) // <== This is not an available option of .Read.  Should be above and must apparently be after .Ajax
        .Read(read => read
          .Action("Products_Read", "Home") // Set the action method which will return the data in JSON format
          .Data("productsReadData")
          )
      ) <snip>

    Couldn't find a more appropriate place to enter this
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2310 posts

    Posted 27 Nov 2014 Link to this post

    Hello James,


    Thanks for reporting the issue. I fixed it and the change will be live soon. As a small sign of gratitude I updated your Telerik points.

    Have a great day!

    Regards,
    Dimiter Madjarov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top