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

[Solved] How to use AutoComplete to populate Grid?

0 Answers 98 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.
Paul
Top achievements
Rank 1
Paul asked on 22 Sep 2010, 12:22 PM
I'm trying to find out the best way to use an autoComplete to populate a Grid. The model I return to the View is currently as follows:

public class EmployeeHierarchyModel
{
    public int EmployeeId { get; set; }
    public string EmployeeName { get; set; }
  
    public IList<HierarchyUnitModel> HierarchyUnitList { get; set; }
}

I use the EmployeeName in the autoComplete which is then posted to a DisplayAjax method. This then returns a partialView that shows the Grid data for that Employee HierarchyUnit but I just cannot figure out how to work this correctly and bind it correctly with the grid. Any help will be most appreciated.

Thanks,
Paul
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Share this question
or