Esempio n. 1
0
    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));
    }
Esempio n. 2
0
    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 = "";
    }
Esempio n. 3
0
    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();
    }
Esempio n. 4
0
    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;
    }
Esempio n. 5
0
    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 = "";
    }
Esempio n. 6
0
    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 = "";
    }
Esempio n. 7
0
 private void GridBinding(int comp_id)
 {
     TreeViewCommom.BindEst(TreeView1, comp_id);
 }
Esempio n. 8
0
 protected void ddlEstTermSubID_SelectedIndexChanged(object sender, EventArgs e)
 {
     TreeViewCommom.BindEst(TreeView1, WebUtility.GetIntByValueDropDownList(ddlCompID));
     UltraWebGrid1.Clear();
 }
Esempio n. 9
0
 protected void ddlCompID_SelectedIndexChanged(object sender, EventArgs e)
 {
     TreeViewCommom.BindEst(TreeView1, COMP_ID);
     DropDownListCommom.BindEstScaleInfo(ddlBScale, true, COMP_ID);
 }