This question is locked. New answers and comments are not allowed.
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:
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
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