private void AssemblePage() { string scope = "School"; if (hfUserRole.Value == "Admin") { scope = "All"; } var parameters = new CommonListParameter() { Operate = "", UserID = WorkingProfile.UserId, UserRole = hfUserRole.Value, Para1 = hfUserRole.Value, Para2 = WorkingProfile.SchoolYear, Para3 = WorkingProfile.SchoolCode, Para4 = scope }; AppsPage.BuildingList(ddlScope, "AccessScope", parameters, "School"); AppsPage.BuildingList(ddlApps, "AppsName", parameters, hfAppID.Value); parameters.Para1 = hfAppID.Value; AppsPage.BuildingList(ddlModelID, "AppsModel", parameters, "Pages"); }
private void AssemblePage() { string scope = "School"; if (hfUserRole.Value == "Admin") { scope = "All"; } var parameters = new CommonListParameter() { Operate = "", UserID = WorkingProfile.UserId, UserRole = hfUserRole.Value, Para1 = hfUserRole.Value, Para2 = WorkingProfile.SchoolYear, Para3 = scope, Para4 = WorkingProfile.AppID, }; AppsPage.BuildingList(ddlSchoolCode, ddlSchool, "DDLListSchool", parameters, WorkingProfile.SchoolCode); AppsPage.BuildingList(ddlApps, "AppsName", parameters, WorkingProfile.DefaultAppID); SetAppsGroup(); }
protected void ddlSchoolCode_SelectedIndexChanged(object sender, EventArgs e) { AppsPage.SetListValue(ddlSchool, ddlSchoolCode.SelectedValue); }
protected void DDLSchool_SelectedIndexChanged(object sender, EventArgs e) { AppsPage.SetListValue(ddlSchoolCode, ddlSchool.SelectedValue); SchoolChange(); }
private void AssemblePage() { AppsPage.BuildingList(ddlApps, "AppsName", "", "", "", hfAppID.Value); }
protected void DDLSchoolCode_SelectedIndexChanged(object sender, EventArgs e) { AppsPage.SetListValue(ddlSchool, ddlSchoolCode.SelectedValue); UserLastWorking.SchoolCode = ddlSchoolCode.SelectedValue; }