protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { TreeView1.Nodes.Clear(); WebCommon.SetEstTermDropDownList(ddlEstTermInfo); WebCommon.SetEstDeptGroupDropDownList(ddlDeptGroup, ":: 선택 ::", "0", true); TreeView1.Nodes.Clear(); WebCommon.FillEstMappingTree(TreeView1, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo)); //WebCommon.FillEstTree(TreeView1, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo)); TreeView1.ExpandAll(); if (ddlEstTermInfo.Items.Count > 0) { WebCommon.FillComDeptTree(TreeView2); } WebCommon.SetEstTermDropDownList(ddlEstTermInfo2); DoSetPossibleCopay(); } ESTTERM_REF_ID = PageUtility.GetByValueDropDownList(ddlEstTermInfo); Literal1.Text = ""; // //체크인-체크아웃 활성화 //MenuControl1.IsCheckInOutVisible = true; //MenuControl1.SetCheckInOutBuuton(tbSetup // , btnIn // , btnOut // ); }
protected void btnIn_Click(object sender, ImageClickEventArgs e) { if (ltrEstDeptPath.Text.Equals(String.Empty)) { Literal1.Text = JSHelper.GetAlertScript("평가 부서를 선택해 주세요.", false); return; } if (ltrDeptPath.Text.Equals(String.Empty)) { Literal1.Text = JSHelper.GetAlertScript("인사 부서를 선택해 주세요.", false); return; } if (ddlDeptGroup.SelectedValue.Equals("0")) { Literal1.Text = JSHelper.GetAlertScript("부분을 선택해주세요.", false); return; } MicroBSC.Estimation.Dac.DeptInfos dept = new MicroBSC.Estimation.Dac.DeptInfos(); dept.MappingEstDept_Dept_ID(PageUtility.GetIntByValueDropDownList(ddlEstTermInfo), int.Parse(ltrEstDeptID.Text), int.Parse(ltrDeptID.Text), int.Parse(ddlDeptGroup.SelectedValue)); TreeView1.Nodes.Clear(); WebCommon.FillEstMappingTree(TreeView1, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo)); TreeView1.ExpandAll(); }
protected void lBtnReload_Click(object sender, EventArgs e) { TreeView1.Nodes.Clear(); WebCommon.FillEstMappingTree(TreeView1, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo)); TreeView1.ExpandAll(); if (btnIn.Visible == false) { btnIn.Visible = true; } if (btnOut.Visible == false) { btnOut.Visible = true; } if (tdEstDeptButton.Visible == false) { tdEstDeptButton.Visible = true; } }