function QueryCampusComboGridList() { var campusID = $("#CampusID").combogridX("getValue"); if (campusID != nonSelect) { var jsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|'})"; $("#CollegeID").combogridX("reload", eval(jsonString)); } $("#StandardID").combogridX("reload", eval(jsonString)); $("#Years").combogridX("reload", eval(jsonString)); reloadGrademajor(); } function QueryCollegeComboGridList(data) { var campusID = $("#CampusID").combogridX("getValue"); var collegeID = $("#CollegeID").combogridX("getValue"); var jsonString = "({'QueryParamsDatas':'CollegeDropdown|*|" + collegeID + "|@|CampusDropdown|*|" + campusID + "|@|'})"; $("#StandardID").combogridX("reload", eval(jsonString)); $("#Years").combogridX("reload", eval(jsonString)); reloadGrademajor(); } function QueryYearDropdownList(data) { reloadGrademajor(); } function QueryStandardDropdownList(data) { //$("#YearID").combogridX("reload", eval(jsonString)); reloadGrademajor(); } function reloadGrademajor() { var campusID = $("#CampusID").combogridX("getValue"); var collegeID = $("#CollegeID").combogridX("getValue"); // var yearID = $("#YearID").combobox("getValue"); var yearID = $("#Years").combogridX("getValue"); var standardID = $("#StandardID").combogridX("getValue"); var jsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|CollegeDropdown|*|" + collegeID + "|@|DictionaryGrade|*|" + yearID + "|@|DictionaryStandard|*|" + standardID + "|@|'})"; $("#CollegeID").combogridX("reload", eval(jsonString)); $("#StandardID").combogridX("reload", eval(jsonString)); $("#Years").combogridX("reload", eval(jsonString)); $("#GrademajorID").combogridX("reload", eval(jsonString)); } function OptionalCourseSetting_Save() { $(document.forms[0]).submit(); } function QueryCoursematerialComboGrid(data) { //reload(); }