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

[Solved] How to get current data in grid

0 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
york
Top achievements
Rank 1
york asked on 15 Jul 2012, 10:14 PM
Hi,
I have grid bounded with a model,
[GridAction]
public ActionResult AthletesResultsAjax(string id)
{
    List<MaintenanceAthletesResultsViewModel> model = null;
 
    if (!string.IsNullOrEmpty(id))
    {
       model = this._resourceBL.GetMaintenanceAthletesResultsViewModel(int.Parse(id));
    }
 
    return View(new GridModel(model));
}
I want to know how to get the data after sort and filtered in the grid in the view and pass to another controller. It should be in Model (strong typed view), not sure what field. Thanks.
Tags
Grid
Asked by
york
Top achievements
Rank 1
Share this question
or