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

How to use filtered data for other uses

1 Answer 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alan Mosley
Top achievements
Rank 1
Alan Mosley asked on 12 Sep 2013, 11:36 AM
I want to use the mvc wrappers grid filter to select a sub group of data, and then use that data to send a sms. How do access that data using  on the server?
Thanks

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 16 Sep 2013, 06:28 AM
Hello Alan,

If you have Ajax Binding implemented for the Grid as in the example at point 8 /controller action method/ you have the filtered data. I.e

DataSourceResult result = products.ToDataSourceResult(request);
//result -> contains the filtered/sorted/paged data
return Json(result);

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