public ActionResult Index(GridNew <Product, ProductModel> grid) { gridView = grid; gridView.ProcessAction(); UpdateGrid(); return(PartialView("_productList", gridView)); }
public ActionResult Index(GridNew <ServicesType, ServicesViewModel> grid) { gridView = grid; Session[SERVICE_SEARCH_MODEL] = grid; UpdateGridSupplierData(); return(PartialView("_ListData", gridView)); }
public ActionResult Index(GridNew <Group, GroupModel> grid) { gridView = grid; Session[GROUP_SEARCH_MODEL] = grid; UpdateGridData(); return(PartialView("_ListData", gridView)); }
public ActionResult Index(GridNew <Supplier, SupplierModels> grid) { _supplierGrid = grid; Session[SUPPLIER_SEARCH_MODEL] = grid; _supplierGrid.ProcessAction(); UpdateGridSupplierData(); return(PartialView("_ListData", _supplierGrid)); }
public ActionResult Index(GridNew <Warehouse, WareHouseModel> grid) { warehouseGird = grid; warehouseGird.ProcessAction(); warehouseGird.Model = new WareHouseModel(); UpdateGrid(); return(PartialView("_ListData", warehouseGird)); }
public ActionResult Index() { warehouseGird = new GridNew <Warehouse, WareHouseModel>( new Pager { CurrentPage = 1, PageSize = 10, }); UpdateGrid(); return(View(warehouseGird)); }
public ActionResult Index(long id = 0) { gridView = new GridNew <Product, ProductModel>( new Pager { CurrentPage = 1, PageSize = 10, Sord = "asc", Sidx = "Name" }); UpdateGrid(); gridView.SearchCriteria = new Product(); return(View(gridView)); }
public ActionResult Index() { gridView = (GridNew <ServicesType, ServicesViewModel>)Session[SERVICE_SEARCH_MODEL]; if (gridView == null) { gridView = new GridNew <ServicesType, ServicesViewModel>( new Pager { CurrentPage = 1, PageSize = 10, Sidx = "Name", }) { SearchCriteria = new ServicesType() }; } UpdateGridSupplierData(); return(View(gridView)); }
public ActionResult Index() { gridView = (GridNew <Group, GroupModel>)Session[GROUP_SEARCH_MODEL]; if (gridView == null) { gridView = new GridNew <Group, GroupModel>( new Pager { CurrentPage = 1, PageSize = 10, Sidx = "Name", }) { SearchCriteria = new Group() }; } UpdateGridData(); return(View(gridView)); }
public ActionResult Index() { _supplierGrid = (GridNew <Supplier, SupplierModels>)Session[SUPPLIER_SEARCH_MODEL]; if (_supplierGrid == null) { _supplierGrid = new GridNew <Supplier, SupplierModels>( new Pager { CurrentPage = 1, PageSize = 10, Sord = "asc", Sidx = "FullName" }) { SearchCriteria = new Supplier() }; } _supplierGrid.Model = new SupplierModels(); UpdateGridSupplierData(); return(View(_supplierGrid)); }
void Awake() { grid = GameObject.Find("Grid").GetComponent <GridNew>(); }
GridNew grid; //Change if using 3D void Awake() { requestManager = GetComponent <PathRequestManagerNew>(); grid = GetComponent <GridNew>(); }