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

Errors in Grid Migration Documentation

1 Answer 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SEAN
Top achievements
Rank 1
SEAN asked on 21 Jan 2013, 06:18 PM
The same error is repeated in three different places in the Grid Migration documentation here
http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/migration/widgets/grid

This code is given for sending custom data to the action method
dataSource => dataSource.Ajax().Data("sendData")
That is incorrect, it should be something like this
dataSource => dataSource
        .Ajax()
        .Read(read => read.Action("Products_Read", "Home")
            .Data("additionalData") // name of the client function that returns the additional data
        )
Note, that the Data method is used on the Action method, rather than on the Ajax method as given in the incorrect document.

It is better decribed here
http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/ajax-binding

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 23 Jan 2013, 02:38 PM
Hello Sean,

Thank you for informing us about this issue in the documentation! I fixed it and the update should be available for the next release.


Kind Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
SEAN
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or