Id like to add a button to delete all records referenced in a Kendo paged and filtered grid (all paged records) abiding by any grid filters
Obviously Telerik MVC extensions abstracts the work it does with iqueryable at the controller by the use of the extension ToDataSourceResult and the [DataSourceRequest] DataSourceRequest request parameter
So the questions are,
Is it possible to somehow create a custom controller action and associated front end code to pass the current filtering regime
Is it then possible in the action to delete all records associated with that filtering.
i might have a paged grid with 1000 records (10 per page), filtered by productId, it would be nice to be able to create a custom toolbar button called "delete all", to delete all the matched filtered recordsPlease note, the toolbar button i can do,
however im not sure if you have access to iqueriable and DataSourceRequest mechanism in a way that might make this feasible
Obviously Telerik MVC extensions abstracts the work it does with iqueryable at the controller by the use of the extension ToDataSourceResult and the [DataSourceRequest] DataSourceRequest request parameter
So the questions are,
Is it possible to somehow create a custom controller action and associated front end code to pass the current filtering regime
Is it then possible in the action to delete all records associated with that filtering.
i might have a paged grid with 1000 records (10 per page), filtered by productId, it would be nice to be able to create a custom toolbar button called "delete all", to delete all the matched filtered recordsPlease note, the toolbar button i can do,
however im not sure if you have access to iqueriable and DataSourceRequest mechanism in a way that might make this feasible