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

Error in documentation of Ajax mode

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 26 Nov 2014, 09:35 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 27 Nov 2014, 04:58 PM
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.

 
Tags
Grid
Asked by
James
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or