public void Initialize() { DataView oDV = new DataView(); Data.getAllUserTypes(out oDV); UserTypeList = ControlHelper.GetSelectList(oDV, cUserTypeID, cUserTypeName); }
public void Initialize() { UserTypeList = ApplicationHelper.GetUserTypesList(); UserLevelList = ApplicationHelper.GetUserLevelsList(); UserTypeSelectList = ControlHelper.GetSelectList(UserTypeList, cUserTypeID, cUserTypeName); UserLevelSelectList = ControlHelper.GetSelectList(UserLevelList, cUserLevelID, cUserLevelName); }
public void GetUserLevels(string UserTypeID) { UserLevelSelectList = ControlHelper.GetSelectList(UserLevelList.Where(x => x.UserTypeID == UserTypeID), cUserLevelID, cUserLevelName); }