public void GetViewList(Control listControl, IDataBoundListControl lv, List <WACParameter> parms) { Enum state = WACListControl.ListState.ListEmpty; try { ListSource.FList = null; if (parms.Count == 0) { ListSource.GetFullItemList(DataProvider.GetList); } else { ListSource.GetFilteredItemList(parms, DataProvider.GetFilteredList); } state = processIDataBoundListControlList(listControl, lv); } catch (Exception ex) { throw new Exception("Can not bind IDataBoundListControl " + listControl.ID + " " + ex.Message); } finally { ContentStateChanged(listControl, state); } }