private void BindingData(int comp_id, string est_id, int estterm_ref_id) { if (est_id.Equals("")) { ltrScript.Text = JSHelper.GetAlertScript("평가를 선택하세요."); return; } DropDownListCommom.BindEstTermSub(ddlEstTermSubID, comp_id, est_id, ""); DropDownListCommom.BindEstTermStep(ddlEstTermStepID, comp_id, est_id); Biz_EstInfos estInfo = new Biz_EstInfos(comp_id, est_id); if (!estInfo.IsExists(comp_id, est_id)) { ltrScript.Text = JSHelper.GetAlertScript("선택된 회사의 평가정보가 없습니다."); return; } if (ddlEstTermRefID.Items.Count > 0) { TreeViewCommom.BindDept(TreeView1); } }
protected void ddlEstTermInfo_SelectedIndexChanged(object sender, EventArgs e) { TreeViewCommom.BindDept(TreeView1 , false , TreeNodeSelectAction.Select , null); }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { TreeViewCommom.BindDept(TreeView1, TreeNodeSelectAction.Select); } }
protected void Page_Load(object sender, EventArgs e) { COMP_ID = WebUtility.GetRequestByInt("COMP_ID"); ESTTERM_REF_ID = WebUtility.GetRequestByInt("ESTTERM_REF_ID"); CTRL_VALUE_NAME = WebUtility.GetRequest("CTRL_VALUE_NAME"); CTRL_TEXT_NAME = WebUtility.GetRequest("CTRL_TEXT_NAME"); CHECHBOX_YN = WebUtility.GetRequest("CHECKBOX_YN"); CTRL_VALUE_VALUE = WebUtility.GetRequest("CTRL_VALUE_VALUE"); POSTBACK_YN = WebUtility.GetRequest("POSTBACK_YN"); POSTBACK_CTRL_NAME = WebUtility.GetRequest("POSTBACK_CTRL_NAME"); if (!Page.IsPostBack) { if (!CHECHBOX_YN.Equals("Y")) { ibnSelect.Visible = false; TreeViewCommom.BindDept(TreeView1, false, TreeNodeSelectAction.Select, null); } else { TreeViewCommom.BindDept(TreeView1, ibnSelect.Visible, TreeNodeSelectAction.None, CTRL_VALUE_VALUE); } } ltrScript.Text = ""; }
protected void Page_Load(object sender, EventArgs e) { COMP_ID = GetRequestByInt("COMP_ID"); EST_ID = GetRequest("EST_ID"); ESTTERM_REF_ID = GetRequestByInt("ESTTERM_REF_ID"); ESTTERM_SUB_ID = GetRequestByInt("ESTTERM_SUB_ID"); ESTTERM_STEP_ID = GetRequestByInt("ESTTERM_STEP_ID"); EST_JOB_ID = "JOB_31"; YEAR_YN = GetRequest("YEAR_YN"); MERGE_YN = GetRequest("MERGE_YN"); if (!Page.IsPostBack) { bool isOK = CheckValidation(ltrScript); BizUtility.SetButtonVisibleCommandNameByRolID(EMP_REF_ID, ibnAllowUpdate); BizUtility.SetButtonVisibleCommandNameByRolID(EMP_REF_ID, ibnConfirmAssingEmpPoint); if (!isOK) { return; } TreeViewCommom.BindDept(TreeView1); ibnAllowUpdate.Attributes.Add("onclick", "return confirm('기존 사원평가점수를 수정할 수 있도록 페이지를 조정하시겠습니까?');"); ibnSave.Attributes.Add("onclick", "return confirm('사원평가점수를 수기로 등록하시겠습니까?');"); ibnConfirmAssingEmpPoint.Attributes.Add("onclick", "return confirm('사원평가점수를 수기 등록 작업을 확정하시겠습니까?');"); } ltrScript.Text = ""; }
protected void Page_Load(object sender, EventArgs e) { COMP_ID = WebUtility.GetRequestByInt("COMP_ID"); ESTTERM_REF_ID = WebUtility.GetRequestByInt("ESTTERM_REF_ID"); ESTTERM_SUB_ID = WebUtility.GetRequestByInt("ESTTERM_SUB_ID"); ESTTERM_STEP_ID = WebUtility.GetRequestByInt("ESTTERM_STEP_ID"); EST_ID = WebUtility.GetRequest("EST_ID"); Q_OBJ_ID = WebUtility.GetRequest("Q_OBJ_ID"); if (!Page.IsPostBack) { TreeViewCommom.BindDept(TreeView1); } ltrScript.Text = ""; }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack == false) { DropDownListCommom.BindComp(ddlCompID, lblCompTitle); DropDownListCommom.BindEstTerm(ddlEstTermInfo); TreeViewCommom.BindDept(TreeView1 , false , TreeNodeSelectAction.Select , null); //BindMap(); } COMP_ID = WebUtility.GetIntByValueDropDownList(ddlCompID); ESTTERM_REF_ID = WebUtility.GetIntByValueDropDownList(ddlEstTermInfo); ltrScript.Text = ""; }
protected void Page_Load(object sender, EventArgs e) { ESTTERM_REF_ID = WebUtility.GetRequestByInt("ESTTERM_REF_ID"); CTRL_DEPT_VALUE_NAME = WebUtility.GetRequest("CTRL_DEPT_VALUE_NAME"); CTRL_DEPT_TEXT_NAME = WebUtility.GetRequest("CTRL_DEPT_TEXT_NAME"); CTRL_EMP_VALUE_NAME = WebUtility.GetRequest("CTRL_EMP_VALUE_NAME"); CTRL_EMP_TEXT_NAME = WebUtility.GetRequest("CTRL_EMP_TEXT_NAME"); SELECT_DEPT_REF_ID = WebUtility.GetRequestByInt("SELECT_DEPT_REF_ID"); if (!Page.IsPostBack) { TreeViewCommom.BindDept(TreeView1); if (SELECT_DEPT_REF_ID != 0) { TreeViewCommom.SelectTreeNode(TreeView1, SELECT_DEPT_REF_ID); BindEmpInfoList(DataTypeUtility.GetToInt32(TreeView1.SelectedValue)); } } ltrScript.Text = ""; }
protected void Page_Load(object sender, EventArgs e) { COMP_ID = WebUtility.GetRequestByInt("COMP_ID"); ESTTERM_REF_ID = WebUtility.GetRequestByInt("ESTTERM_REF_ID"); ESTTERM_SUB_ID = WebUtility.GetRequestByInt("ESTTERM_SUB_ID"); ESTTERM_STEP_ID = WebUtility.GetRequestByInt("ESTTERM_STEP_ID"); EST_ID = WebUtility.GetRequest("EST_ID"); Q_OBJ_ID = WebUtility.GetRequest("Q_OBJ_ID"); POSTBACK_CTRL_NAME = WebUtility.GetRequest("POSTBACK_CTRL_NAME"); poo_ref_id = WebUtility.GetRequestByInt("POOL"); stg_ref_id = WebUtility.GetRequestByInt("STG"); view_ref_id = WebUtility.GetRequestByInt("VIEW"); if (poo_ref_id == 0 || stg_ref_id == 0 || view_ref_id == 0) { ltrScript.Text = JSHelper.GetAlertScript("KPI풀을 선택하세요."); return; } if (!Page.IsPostBack) { TreeViewCommom.BindDept(TreeView1); } ltrScript.Text = ""; }
protected void ddlEstTermStepID_SelectedIndexChanged(object sender, EventArgs e) { TreeView1.Nodes.Clear(); TreeViewCommom.BindDept(TreeView1); TreeView1.ExpandAll(); }