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 = ""; }
private void DoConfig() { string strStatusStyleID = "0004"; DropDownListCommom.BindComp(ddlCompID, lblCompTitle); DropDownListCommom.BindEstTerm(ddlEstTermRefID); DropDownListCommom.BindEstTermSubByYearYN(ddlEstTermSubID , WebUtility.GetIntByValueDropDownList(ddlCompID) , "N"); TreeViewCommom.BindEst(TreeView1, WebUtility.GetIntByValueDropDownList(ddlCompID)); Biz_Status status = new Biz_Status(); DataSet ds = status.GetStatuses(strStatusStyleID); UltraWebGrid1.Columns.FromKey("STATUS_YN").ValueList.DataSource = ds.Tables[0]; UltraWebGrid1.Columns.FromKey("STATUS_YN").ValueList.DisplayMember = "STATUS_NAME"; UltraWebGrid1.Columns.FromKey("STATUS_YN").ValueList.ValueMember = "STATUS_ID"; UltraWebGrid1.Columns.FromKey("STATUS_YN").ValueList.DataBind(); Biz_TermSteps termStep = new Biz_TermSteps(); DataSet dsStep = termStep.GetTermSteps(WebUtility.GetIntByValueDropDownList(ddlCompID), "Y"); UltraWebGrid1.Columns.FromKey("STEP_ID").ValueList.DataSource = dsStep.Tables[0]; UltraWebGrid1.Columns.FromKey("STEP_ID").ValueList.DisplayMember = "ESTTERM_STEP_NAME"; UltraWebGrid1.Columns.FromKey("STEP_ID").ValueList.ValueMember = "ESTTERM_STEP_ID"; UltraWebGrid1.Columns.FromKey("STEP_ID").ValueList.DataBind(); UltraWebGrid1.Columns.FromKey("STEP_ID").ValueList.ValueListItems.RemoveAt(0); UltraWebGrid1.Columns.FromKey("STEP_ID").ValueList.ValueListItems.Insert(0, new ValueListItem("-", 0)); }
protected void ddlEstTermInfo_SelectedIndexChanged(object sender, EventArgs e) { TreeViewCommom.BindDept(TreeView1 , false , TreeNodeSelectAction.Select , null); }
protected void Page_Load(object sender, EventArgs e) { COMP_ID = WebUtility.GetRequestByInt("COMP_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.BindEst(TreeView1, false, TreeNodeSelectAction.Select, null, COMP_ID); } else { TreeViewCommom.BindEst(TreeView1, ibnSelect.Visible, TreeNodeSelectAction.None, CTRL_VALUE_VALUE, COMP_ID); } } ltrScript.Text = ""; }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { TreeViewCommom.BindDept(TreeView1, TreeNodeSelectAction.Select); } }
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 ddlCompID_SelectedIndexChanged(object sender, EventArgs e) { TreeViewCommom.BindEst(TreeView1, TreeNodeSelectAction.Select, COMP_ID); DropDownListCommom.BindEstScaleInfo(ddlScaleID, COMP_ID); BindGrid(COMP_ID, EST_ID, SCALE_ID); ButtonStatusInit(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DropDownListCommom.BindComp(ddlCompID, lblCompTitle); TreeViewCommom.BindEst(TreeView1, TreeNodeSelectAction.Select, WebUtility.GetIntByValueDropDownList(ddlCompID)); DropDownListCommom.BindEstScaleInfo(ddlScaleID, WebUtility.GetIntByValueDropDownList(ddlCompID)); ButtonStatusInit(); } COMP_ID = WebUtility.GetIntByValueDropDownList(ddlCompID); EST_ID = hdfEstID.Value; SCALE_ID = WebUtility.GetByValueDropDownList(ddlScaleID); ltrScript.Text = string.Empty; }
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) { DropDownListCommom.BindComp(ddlCompID, lblCompTitle); TreeViewCommom.BindKndBiz(TreeView1); ibnSearch.Attributes.Add("onclick", "return Search();"); ibnSave.Attributes.Add("onclick", "return confirm('체크하신 질의문항을 저장하시겠습니까?');"); } COMP_ID = WebUtility.GetIntByValueDropDownList(ddlCompID); EST_ID = hdfSearchEstID.Value; 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) { if (!IsPostBack) { DropDownListCommom.BindComp(ddlCompID, lblCompTitle); TreeViewCommom.BindEst(TreeView1, WebUtility.GetIntByValueDropDownList(ddlCompID)); DropDownListCommom.BindEstScaleInfo(ddlBScale, true, WebUtility.GetIntByValueDropDownList(ddlCompID)); DropDownListCommom.BindEstTerm(ddlEstTermRefID); hdfTabKey.Value = "1"; ibnEst1.ImageUrl = "../images/btn/btn1Down.gif"; ibnEst2.ImageUrl = "../images/btn/btn2Up.gif"; ibnEst3.ImageUrl = "../images/btn/btn3Up.gif"; } COMP_ID = WebUtility.GetIntByValueDropDownList(ddlCompID); EST_ID = TreeView1.SelectedValue; ESTTERM_REF_ID = WebUtility.GetIntByValueDropDownList(ddlEstTermRefID); WEIGHT_TYPE = hdfWeightType.Value; SCALE_TYPE = hdfScaleType.Value; 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(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //2011.10.28 허성덕과장요청(자화전자 요청)으로 박효동작업(개인평가의 과거년도 개인점수 컬럼들 보이기여부 컬럼 자동추가. //Biz_Datas biz = new Biz_Datas(); //biz.ConfirmNewColumn("EST_INFO", "VISIBLE_PAST_POINT_YN", "ALTER TABLE EST_INFO ADD VISIBLE_PAST_POINT_YN CHAR(1) NULL DEFAULT('Y')"); DropDownListCommom.BindComp(ddlCompID, lblCompTitle); TreeViewCommom.BindEst(TreeView1, WebUtility.GetIntByValueDropDownList(ddlCompID)); RadioButtonListCommom.BindYN(rblGradeConfirmYN); DropDownListCommom.BindBiasType(ddlBiasTypeID); RadioButtonListCommom.BindYN(rblBiasYN); RadioButtonListCommom.BindYN(rblBiasDeptUseID); RadioButtonListCommom.BindYN(rblFixedWeightUseYN); RadioButtonListCommom.BindTgtSendType(rblTgtSendType); DropDownListCommom.BindSetCtrlStep(ddlPointCtrlStep); DropDownListCommom.BindSetCtrlStep(ddlGradeCtrlStep); RadioButtonListCommom.BindEstimate(rblOwnerType); RadioButtonListCommom.BindEstStyle(rblEstStyle); RadioButtonListCommom.BindWeightType(rblWeightType); RadioButtonListCommom.BindScaleType(rblScaleType); DropDownListCommom.BindStatusStyle(ddlStatusStyleID); DropDownListCommom.BindQuestionPageStyle(ddlQuestionStyleID); RadioButtonListCommom.BindYN(rblQItemDescUseYN); RadioButtonListCommom.BindYN(rblQTgtPosBizUseYN); RadioButtonListCommom.BindYN(rblAllStepVisibleYN); RadioButtonListCommom.BindYN(rblEmpComDeptYN); RadioButtonListCommom.BindUseYN(rblUseYN); RadioButtonListCommom.BindVisiblePastPointYN(rblVisiblePastPointYN); RadioButtonListCommom.BindEstQTTMBOYN(rblEstQTTMBOYN); RadioButtonListCommom.BindMboScoreEstimateYN(rblMboScoreEstimateYN); RadioButtonListCommom.BindDashBoardTYPE(rblDashBoardTYPE); DropDownListCommom.BindDashBoardType(ddlDashBoardTYPE); DropDownListCommom.BindQuestionPreviousStepYN(ddlPreviousStempYN); //CheckBoxListCommon.BindEstTermSub(cblEstTermSub, WebUtility.GetIntByValueDropDownList(ddlCompID), "N"); //CheckBoxListCommon.BindEstTermStep(cblEstTermStep, WebUtility.GetIntByValueDropDownList(ddlCompID), "N"); BindEstJob(0, ""); ButtonStatusInit(); } else { rblDashBoardTYPE.Items[0].Attributes.Add("OnClick", "displayDashboarDDL('Y')"); rblDashBoardTYPE.Items[1].Attributes.Add("OnClick", "displayDashboarDDL('N')"); //평가질의지 이전차수 보이기여부 //for (int i = 0; i < ddlQuestionStyleID.Items.Count; i++) //{ // if (ddlQuestionStyleID.Items[i].Value == "BLK") // ddlQuestionStyleID.Items[i].Attributes.Add("onchange", "displayPreviousStepDDL('N')"); // else // ddlQuestionStyleID.Items[i].Attributes.Add("onchange", "displayPreviousStepDDL('Y')"); //} } COMP_ID = WebUtility.GetIntByValueDropDownList(ddlCompID); ltrScript.Text = ""; }
private void GridBinding(int comp_id) { TreeViewCommom.BindEst(TreeView1, comp_id); }
protected void ddlEstTermSubID_SelectedIndexChanged(object sender, EventArgs e) { TreeViewCommom.BindEst(TreeView1, WebUtility.GetIntByValueDropDownList(ddlCompID)); UltraWebGrid1.Clear(); }
private void BindGrid(int comp_id) { TreeViewCommom.BindJobs(TreeView1, TreeNodeSelectAction.Select, comp_id); }
protected void ddlCompID_SelectedIndexChanged(object sender, EventArgs e) { TreeViewCommom.BindEst(TreeView1, COMP_ID); DropDownListCommom.BindEstScaleInfo(ddlBScale, true, COMP_ID); }