/// <summary> /// load dropdown lists /// </summary> protected void LoadItemDDLs() { CStatus status = CSTAT.LoadItemTypeDDL(BaseMstr.BaseData, ddlType); if (!status.Status) { ShowStatusInfo(status); return; } status = CItem.LoadItemGroupDDL(BaseMstr.BaseData, ddlGroup, k_ACTIVE_ID.Active); if (!status.Status) { ShowStatusInfo(status); return; } }
private CStatus LoadFilterDDLs() { CStatus status = CSTAT.LoadItemTypeDDL(BaseMstr.BaseData, ddlFilterType); if (!status.Status) { ShowStatusInfo(status); return(status); } status = CItem.LoadItemGroupDDL(BaseMstr.BaseData, ddlFilterByGroup); if (!status.Status) { ShowStatusInfo(status); return(status); } return(new CStatus()); }