I am using the MVC Kendo Grid This is my Read method:
@(Html.Kendo().Grid<Model>()
.Name("Grid")
.Columns(columns =>
{
}
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("MyAction", "MyController", new { ids =
Model.SelectedIds }))
)
)
Model.SelectedIds is a comma separated string of ids, which I split in the controller and fetch records for the Ids. This works fine if Model.SelectedIds is a small string However, when it is a huge string with many ids (3000 for example), then the Action is never called.
Wherever I am sending Json data, I have already set the Json limit to max in the web.config file. Here, I don't think it should affect, since this is not a Json request, correct?
Please help me fix this.
The Action is as below:
public ActionResult MyAction(DataSourceRequest request, string ids){
}