public void LoadGrid() { //if (BaseControllerObject != null) // grdControlItems.DataSource = BaseControllerObject.GetItemsList(); if (BaseControllerObject != null) { grdControlItems.DataSource = BaseMvcController.CollectSearchCriteria(); } }
private void btnSearch_Click(object sender, System.EventArgs e) { if (BaseMvcController == null) { return; } object[] list = BaseMvcController.CollectSearchCriteria(); grdControlItems.DataSource = list; BaseMvcController.ClearControls(); }