How to use filtered data for other uses

2 posts, 0 answers
  1. Alan Mosley
    Alan Mosley avatar
    200 posts
    Member since:
    Apr 2010

    Posted 12 Sep 2013 Link to this post

    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?
  2. Nikolay Rusev
    Nikolay Rusev avatar
    2289 posts

    Posted 16 Sep 2013 Link to this post

    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);

    Nikolay Rusev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top