コード例 #1
0
ファイル: PRJ1104S1.aspx.cs プロジェクト: schifflee/bscgit
    private void DoInitControl()
    {
        if (!IsPostBack)
        {
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
        }

        this.IESTTERM_REF_ID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);

        WebCommon.FillEstTree(trvEstDept, this.IESTTERM_REF_ID, gUserInfo.Emp_Ref_ID);
        trvEstDept.ExpandAll();

        if (trvEstDept.Nodes.Count > 0)
        {
            trvEstDept.Nodes[0].Select();
            this.IEST_DEPT_REF_ID = (trvEstDept.SelectedNode == null) ? 0 : int.Parse(trvEstDept.SelectedNode.Value);
            DoBinding();
        }
        else
        {
            ltEstDeptName.Text = lblChampName.Text = lblSTGMapName.Text = "";
            ugrdStgList.Clear();
            this.IEST_DEPT_REF_ID = 0;
        }
    }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         WebCommon.FillEstTree(TreeView1, this.IEsttermRefID);
     }
 }
コード例 #3
0
ファイル: usr10002.aspx.cs プロジェクト: schifflee/bscgit
    protected void Page_Load(object sender, EventArgs e)
    {
        ltrScript.Text = "";
        SetQueryStringData();

        if (EST_DEPT_REF_ID == 0)
        {
            Biz_EstDeptOrgDetails estDeptOrgDetail = new Biz_EstDeptOrgDetails();
            EST_DEPT_REF_ID = estDeptOrgDetail.GetEstDeptRefID(ESTTERM_REF_ID, EMP_REF_ID);
            if (EST_DEPT_REF_ID < 1)
            {
                this.Page.ClientScript.RegisterClientScriptBlock(typeof(string), "noAccess", JSHelper.GetAlertBackScript("권한이 없습니다."));
            }
        }

        if (!IsPostBack)
        {
            WebCommon.FillEstTree(trvEstDept, ESTTERM_REF_ID, EMP_REF_ID);
            txtDeptID.Text = EST_DEPT_REF_ID.ToString();

            WebCommon.SetExternalScoreCheckBox(chkApplyExtScore, ESTTERM_REF_ID);
            chkApplyExtScore.Checked = this.IExtKpiYN;

            ViewKPI = true;

            SetCtrlSetting(ESTTERM_REF_ID
                           , int.Parse(txtDeptID.Text));
        }
    }
コード例 #4
0
ファイル: BSC0403S3.aspx.cs プロジェクト: schifflee/bscgit
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         WebCommon.FillEstTree(TreeView1, WebUtility.GetRequestByInt("estterm_ref_id"));
     }
 }
コード例 #5
0
ファイル: BSC0401S1.aspx.cs プロジェクト: schifflee/bscgit
    private void SetPageData()
    {
        if (!IsPostBack)
        {
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
        }

        this.IEstTermRefID = int.Parse(ddlEstTermInfo.SelectedValue);

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, this.IEstTermRefID);

        MicroBSC.Integration.COM.Biz.Biz_Rel_Dept_Emp bizRel = new MicroBSC.Integration.COM.Biz.Biz_Rel_Dept_Emp();
        int estDeptID = DataTypeUtility.GetToInt32(bizRel.Get_Dept_ID_of_Emp_ID(gUserInfo.Emp_Ref_ID.ToString()));

        //WebCommon.FillEstMappingTree_NW(trvEstDept, this.IEstTermRefID, estDeptID, TreeNodeSelectAction.Select);
        WebCommon.FillEstTree(trvEstDept, this.IEstTermRefID, gUserInfo.Emp_Ref_ID);
        trvEstDept.ExpandAll();

        if (trvEstDept.Nodes.Count > 0)
        {
            trvEstDept.Nodes[0].Select();
            this.IEstDeptRefID = (trvEstDept.SelectedNode == null) ? IEstDeptRefID : int.Parse(trvEstDept.SelectedNode.Value);

            this.SetFormData(gUserInfo.Dept_Ref_ID);
        }
        else
        {
            ltEstDeptName.Text = "";
            lblChampName.Text  = "";
            lblSTGMapName.Text = "";
            ugrdStgList.Clear();
            this.IEstDeptRefID = 0;
        }
    }
コード例 #6
0
ファイル: ctl2303.aspx.cs プロジェクト: schifflee/bscgit
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         WebCommon.FillEstTree(TreeView1, int.Parse(Request["esttermid"]));
         WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
         ddlEstTermInfo.Items.FindByValue(Request["esttermid"]).Selected = true;
     }
 }
コード例 #7
0
ファイル: ctl2302.aspx.cs プロジェクト: schifflee/bscgit
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            WebCommon.FillEstTree(TreeView1, int.Parse(Request["estterm_ref_id"]));
            WebCommon.FillEstTree(TreeView2, int.Parse(Request["estterm_ref_id"]));
        }

        Literal1.Text = "";
    }
コード例 #8
0
    protected void ddlEstTermInfo_SelectedIndexChanged(object sender, EventArgs e)
    {
        WebCommon.SetTermMonthDropDownList(ddlMonthInfo, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo));
        this.IEstTermRefID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);

        Dac_EmpComDeptDetails objDept = new Dac_EmpComDeptDetails();

        this.IEstDeptID = objDept.GetTopEstDeptPerEesterm(this.IEstTermRefID, gUserInfo.Emp_Ref_ID);

        WebCommon.FillEstTree(trvEstDept
                              , this.IEstTermRefID
                              , gUserInfo.Emp_Ref_ID
                              , this.IEstDeptID);

        trvEstDept.ExpandAll();

        if (trvEstDept.Nodes.Count > 0 && this.IEstDeptID > 0 && this.IEstTermRefID > 0)
        {
            this.SetParameter();

            if (!this.HaveReadRight())
            {
                ltrScript.Text = JSHelper.GetAlertScript("조회할 권한이 없습니다.", false);
                return;
            }

            this.SetDeptMapInfo();
            this.SetDeptScoreCard();
        }
        else if (trvEstDept.Nodes.Count > 0 && this.IEstDeptID < 1 && this.IEstTermRefID < 1)
        {
            trvEstDept.Nodes[0].Select();
            this.IEstDeptID = (trvEstDept.SelectedNode == null) ? 0 : int.Parse(trvEstDept.SelectedNode.Value);
            this.SetParameter();

            if (!this.HaveReadRight())
            {
                return;
            }

            this.SetDeptMapInfo();
            this.SetDeptScoreCard();
        }
        else
        {
            lblDeptName.Text   = "";
            lblTotalScore.Text = "";
            lblDeptVision.Text = "";
            ugrdScoreCard.Clear();
        }
    }
コード例 #9
0
ファイル: BSC1010S1.aspx.cs プロジェクト: schifflee/bscgit
    protected void Page_Load(object sender, EventArgs e)
    {
        //좌측메뉴설정
        base.SetMenuControl(true, false, true);

        if (!IsPostBack)
        {
            this.NotPostBackSetting();
            WebCommon.FillEstTree(trvEstDept, IEstTermRefID, EMP_REF_ID);
        }
        else
        {
            this.PostBackSetting();
        }
    }
コード例 #10
0
    //protected void Page_Init(object sender, EventArgs e)
    //{
    //    SetPageLayout(phdLayout);
    //}

    protected void Page_Load(object sender, EventArgs e)
    {
        VER_ID         = PageUtility.GetIntByValueDropDownList(ddlStgVersion);
        ESTTERM_REF_ID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);

        if (!Page.IsPostBack)
        {
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
            WebCommon.FillEstTree(trvEstDept, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo), EMP_REF_ID);
            StgVersionDropDownBinding(PageUtility.GetIntByValueDropDownList(ddlEstTermInfo));

            iBtnSearch.Attributes.Add("onclick", "return ValidCheck();");
        }

        ltrScript.Text = "";
    }
コード例 #11
0
    private void SetPageData()
    {
        if (!IsPostBack)
        {
            //평기기간(년)리스트
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
        }

        this.IEstTermRefID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);
        MicroBSC.Estimation.Dac.TermInfos objTERM = new MicroBSC.Estimation.Dac.TermInfos(this.IEstTermRefID);
        this.IEstTermName = Convert.ToString(objTERM.Estterm_name);

        //평가조직 트리 구성
        WebCommon.FillEstTree(trvEstDept, this.IEstTermRefID, gUserInfo.Emp_Ref_ID);
        //WebCommon.FillEstTree(trvEstDept, this.IEstTermRefID);
        trvEstDept.ExpandAll();

        if (trvEstDept.Nodes.Count > 0)
        {
            trvEstDept.Nodes[0].Select();
            this.IEstDeptRefID       = (trvEstDept.SelectedNode == null) ? 0 : int.Parse(trvEstDept.SelectedNode.Value);
            this.txtEstDeptName.Text = (trvEstDept.SelectedNode == null) ? "" : trvEstDept.SelectedNode.Text;
            this.IEstDeptName        = (trvEstDept.SelectedNode == null) ? "" : trvEstDept.SelectedNode.Text;

            this.SetFormData();
        }
        else
        {
            this.IEstDeptRefID   = 0;
            this.IMapVersionID   = 0;
            this.IStgRefID       = 0;
            this.IKpiRefID       = 0;
            this.IWorkRefID      = 0;
            this.IExecRefID      = 0;
            this.IEstDeptName    = "";
            this.IMapVersionName = "";
            this.IStgName        = "";
            this.IKpiName        = "";
            this.IWorkName       = "";
            this.IExecName       = "";
            this.ugrdMapSKIE.Clear();
            this.trvStgMap.Nodes.Clear();
        }
    }
コード例 #12
0
ファイル: ctl2301.aspx.cs プロジェクト: schifflee/bscgit
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            WebCommon.FillEstTree(TreeView1, int.Parse(Request["estterm_ref_id"]));

            string mode = WebUtility.GetRequest("mode");

            if (mode.Equals("New"))
            {
                pnlNew.Visible    = true;
                pnlRename.Visible = false;
                pnlMove.Visible   = false;
                pnlRemove.Visible = false;
                iBtnSave.ImageUrl = "~/images/btn/b_156.gif";
            }
            else if (mode.Equals("Rename"))
            {
                pnlNew.Visible    = false;
                pnlRename.Visible = true;
                pnlMove.Visible   = false;
                pnlRemove.Visible = false;
                iBtnSave.ImageUrl = "~/images/btn/b_002.gif";
            }
            else if (mode.Equals("Move"))
            {
                pnlNew.Visible    = false;
                pnlRename.Visible = false;
                pnlMove.Visible   = true;
                pnlRemove.Visible = false;
                iBtnSave.ImageUrl = "~/images/btn/b_002.gif";
            }
            else if (mode.Equals("Remove"))
            {
                pnlNew.Visible    = false;
                pnlRename.Visible = false;
                pnlMove.Visible   = false;
                pnlRemove.Visible = true;
                iBtnSave.ImageUrl = "~/images/btn/b_006.gif";
            }
        }

        Literal1.Text = "";
    }
コード例 #13
0
ファイル: BSC0407M1.aspx.cs プロジェクト: schifflee/bscgit
    private void SetPageData()
    {
        if (!IsPostBack)
        {
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
            if (User.IsInRole(ROLE_ADMIN))
            {
                this.IsAdmin = "Y";
            }
            else
            {
                this.IsAdmin = "N";
            }
        }

        this.IEstTermRefID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, this.IEstTermRefID);
        WebCommon.FillEstTree(trvEstDept, this.IEstTermRefID, gUserInfo.Emp_Ref_ID);
        trvEstDept.ExpandAll();

        if (trvEstDept.Nodes.Count > 0)
        {
            trvEstDept.Nodes[0].Select();
            this.IEstDeptRefID = (trvEstDept.SelectedNode == null) ? 0 : int.Parse(trvEstDept.SelectedNode.Value);
            this.SetFormData();
        }
        else
        {
            ltEstDeptName.Text = "";
            lblChampName.Text  = "";
            lblSTGMapName.Text = "";
            ugrdLoadMapList.Clear();
            this.IEstDeptRefID = 0;
        }
    }
コード例 #14
0
ファイル: PRJ1103M1.aspx.cs プロジェクト: schifflee/bscgit
    private void SetPageData()
    {
        if (!IsPostBack)
        {
            MicroBSC.Estimation.Dac.TermInfos objTERM = new MicroBSC.Estimation.Dac.TermInfos(this.IEstTermRefID);
            this.IEstTermName   = Convert.ToString(objTERM.Estterm_name);
            txtEsttermName.Text = this.IEstTermName;

            MicroBSC.Estimation.Dac.DeptInfos objDEPT = new MicroBSC.Estimation.Dac.DeptInfos(this.IEstDeptRefID1);
            this.IEstDeptName1   = Convert.ToString(objDEPT.Dept_Name);
            txtEstDeptName1.Text = this.IEstDeptName1;

            this.SetMapVersion();
            this.SetMapInfo(true);

            pnlWorkExec.Visible = false;
            pnlWorkInfo.Visible = false;
        }


        //평가조직 트리 구성
        //WebCommon.FillEstTree(trvEstDept, this.IEstTermRefID, gUserInfo.Emp_Ref_ID);
        WebCommon.FillEstTree(trvEstDept, this.IEstTermRefID);
        trvEstDept.ExpandAll();

        if (trvEstDept.Nodes.Count > 0)
        {
            trvEstDept.Nodes[0].Select();
            this.IEstDeptRefID2       = (trvEstDept.SelectedNode == null) ? 0 : int.Parse(trvEstDept.SelectedNode.Value);
            this.txtEstDeptName2.Text = (trvEstDept.SelectedNode == null) ? "" : trvEstDept.SelectedNode.Text;
            this.IEstDeptName2        = (trvEstDept.SelectedNode == null) ? "" : trvEstDept.SelectedNode.Text;

            pnlWorkInfo.Visible = false;
            pnlWorkExec.Visible = false;

            SetWorkInfoList();

            //this.SetFormData();
        }
        else
        {
            this.IStgRefID            = 0;
            this.IKpiRefID            = 0;
            this.IWorkRefID           = 0;
            this.IExecRefID           = 0;
            this.IEstDeptRefID2       = 0;
            this.IEstDeptName2        = "";
            this.txtEstDeptName2.Text = "";
            this.IStgName             = "";
            this.IKpiName             = "";
            this.IWorkName            = "";
            this.IExecName            = "";
            this.ugrdWorkInfoList.Clear();
            this.ugrdWorkExecList.Clear();
            this.trvEstDept.Nodes.Clear();
        }

        //Response.Write("IEstTermRefID = "+IEstTermRefID +"<br>");
        //Response.Write("IEstDeptRefID1 = "+IEstDeptRefID1 +"<br>");
        //Response.Write("IEstDeptRefID2 = "+IEstDeptRefID2+"<br>");
        //Response.End();
    }
コード例 #15
0
ファイル: ctl2301.aspx.cs プロジェクト: schifflee/bscgit
    protected void iBtnSave_Click(object sender, ImageClickEventArgs e)
    {
        DeptInfos dept = new DeptInfos();
        string    mode = WebUtility.GetRequest("mode");

        if (ltrHiddenDeptID.Text.Equals(""))
        {
            Literal1.Text = JSHelper.GetAlertScript("부서를 선택해 주세요.", false);
            return;
        }

        if (mode.Equals("New"))
        {
            if (txtDeptNew.Text.Equals(""))
            {
                Literal1.Text = JSHelper.GetAlertScript("등록하실 부서명을 입력하세요.", false);
                return;
            }

            dept.AddDeptinfo(int.Parse(ltrHiddenDeptID.Text), int.Parse(ltrHiddenLevel.Text) + 1, txtDeptNew.Text, int.Parse(Request["estterm_ref_id"]));
            //Response.Write(dept.IERRMSG.Replace("'", ""));
            WebCommon.FillEstTree(TreeView1, WebUtility.GetRequestByInt("estterm_ref_id"));
            TreeView1.ExpandAll();
            Literal1.Text = JSHelper.GetOpenerControlCallBackScript(this.ICCB1, true);
        }
        else if (mode.Equals("Rename"))
        {
            if (txtDeptRename.Text.Equals(""))
            {
                Literal1.Text = JSHelper.GetAlertScript("바꾸실 부서명을 입력하세요.", false);
                return;
            }

            /* 2011-06-13 수정 : 명칭변경시에 sortOrder도 수정하도록 변경 */
            //dept.RenameDeptName(int.Parse(Request["estterm_ref_id"]), int.Parse(ltrHiddenDeptID.Text), txtDeptRename.Text);
            int sortOrder = Convert.ToInt32(txtSortOrder.Text);
            dept.RenameDeptName(WebUtility.GetRequestByInt("estterm_ref_id"), int.Parse(ltrHiddenDeptID.Text), txtDeptRename.Text, sortOrder);
            /* 2011-06-13 수정 완료 ****************************************/
            WebCommon.FillEstTree(TreeView1, int.Parse(Request["estterm_ref_id"]));
            TreeView1.ExpandAll();
            Literal1.Text = JSHelper.GetOpenerControlCallBackScript(this.ICCB1, true);
        }
        else if (mode.Equals("Move"))
        {
            if (txtMoveDeptID.Text.Equals(""))
            {
                Literal1.Text = JSHelper.GetAlertScript("이동하실 부서경로를 선택 하세요.", false);
                return;
            }

            dept.MoveDeptPath(WebUtility.GetRequestByInt("estterm_ref_id"), int.Parse(ltrHiddenDeptID.Text), int.Parse(txtMoveDeptID.Text), int.Parse(txtMoveLevel.Text) + 1);
            //WebCommon.FillEstTree(TreeView1, int.Parse(Request["estterm_ref_id"]));
            Literal1.Text = JSHelper.GetOpenerControlCallBackScript(this.ICCB1, true);
        }
        else if (mode.Equals("Remove"))
        {
            if (ltrTreePath_Remove.Text.Equals(""))
            {
                Literal1.Text = JSHelper.GetAlertScript("삭제하실 부서를 선택 하세요.", false);
                return;
            }

            bool isOK = dept.RemoveDeptInfo(WebUtility.GetRequestByInt("estterm_ref_id"), int.Parse(ltrHiddenDeptID.Text));
            WebCommon.FillEstTree(TreeView1, WebUtility.GetRequestByInt("estterm_ref_id"));
            TreeView1.ExpandAll();
            Literal1.Text = JSHelper.GetOpenerControlCallBackScript(this.ICCB1, true);
            //if (!isOK)
            //{
            //    Literal1.Text = JSHelper.GetAlertScript("사용 중인 평가 부서입니다.", false);
            //}
            //else
            //{
            //    Literal1.Text = JSHelper.GetAlertOpenerControlCallBackScript("정상적으로 부서명이 삭제되었습니다.", "lBtnReload", true);
            //}
        }
    }
コード例 #16
0
ファイル: PRJ1104S1.aspx.cs プロジェクト: schifflee/bscgit
 protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
 {
     trvEstDept.Nodes.Clear();
     WebCommon.FillEstTree(trvEstDept, Convert.ToInt32(ddlEstTermInfo.SelectedValue));
     trvEstDept.ExpandAll();
 }
コード例 #17
0
ファイル: ctl2303.aspx.cs プロジェクト: schifflee/bscgit
 protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
 {
     TreeView1.Nodes.Clear();
     WebCommon.FillEstTree(TreeView1, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo));
     TreeView1.ExpandAll();
 }
コード例 #18
0
ファイル: usr_ana_view.aspx.cs プロジェクト: schifflee/bscgit
    protected void Page_Load(object sender, EventArgs e)
    {
        //SetPageLayout(phdLayout, "MenuControl_NotLeftMenu.ascx");

        ddlEstTermInfo = MenuControl1.DdlEstTermInfo;
        ddlMonthInfo   = MenuControl1.DdlEstMonth;
        lblDeptPath    = MenuControl1.LblDeptPath;

        ddlEstTermInfo.SelectedIndexChanged += new EventHandler(ddlEstTermInfo_SelectedIndexChanged);
        ddlMonthInfo.SelectedIndexChanged   += new EventHandler(ddlMonthInfo_SelectedIndexChanged);

        if (!Page.IsPostBack)
        {
            //if (!PageUtility.IsContainSystemAdminUser(EMP_REF_ID))
            //{
            UltraWebTab1.Tabs.FromKeyTab("GROUP_VIEW").Visible = false;
            //}

            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
            //WebCommon.SetMonthDropDownList(ddlMonthInfo);
            WebCommon.SetTermMonthDropDownList(ddlMonthInfo, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo));
            WebCommon.FillEstTree(trvEstDept, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo), EMP_REF_ID);

            //StrategyMapInfos stgMapInfo = new StrategyMapInfos();

            if (Request["ESTTERM_REF_ID"] != null)
            {
                PageUtility.FindByValueDropDownList(ddlEstTermInfo, GetRequest("ESTTERM_REF_ID"));
                //UltraWebTab1.SelectedTabIndex = 2;
            }

            if (Request["TMCODE"] != null)
            {
                PageUtility.FindByValueDropDownList(ddlMonthInfo, GetRequest("TMCODE"));
            }
            else
            {
                MicroBSC.BSC.Biz.Biz_Bsc_Term_Detail objTerm = new MicroBSC.BSC.Biz.Biz_Bsc_Term_Detail();
                PageUtility.FindByValueDropDownList(ddlMonthInfo, objTerm.GetReleasedMonth());
            }

            if (Request["EST_DEPT_REF_ID"] != null)
            {
                PageUtility.SelectTreeNode(trvEstDept, GetRequest("EST_DEPT_REF_ID"));
            }
            else
            {
                //if (trvEstDept.Nodes.Count > 0)
                //    trvEstDept.Nodes[0].Select();

                int return_est_dept_ref_id = PageUtility.SetTopEstDeptRefID(trvEstDept);
                PageUtility.SelectTreeNode(trvEstDept, return_est_dept_ref_id.ToString());
            }

            ChageTabPage();

            ddlEstTermInfo.AutoPostBack = true;
            ddlMonthInfo.AutoPostBack   = true;
        }

        lblDeptPath.Text = WebCommon.GetDeptTreePathText(trvEstDept);
        ltrScript.Text   = "";

        this.UltraWebTab1.Tabs.FromKeyTab("CEO_COM").Text    = this.GetText("LBL_00004", "Communication");
        this.UltraWebTab1.Tabs.FromKeyTab("CEO_COM").Tooltip = this.GetText("LBL_00004", "Communication");
    }
コード例 #19
0
    private void SetAllTimeTop()
    {
        int    iTmp = 0;
        string sUrl = HttpContext.Current.Request.Url.AbsolutePath;

        // ERRORINFO.ASPX는 쿼리스트링이 고정되지 않은 페이지 이므로 예외처리한다. (해당페이지 권한시 FULL_PATH로 처리되므로 무한루프일수 있다.)
        if (
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "ERRORINFO.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR1002.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR1003.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR2001.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR1001_1000.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR1001_1001.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR1001_1009.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR1001_1014.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "EST1100.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "EST3600.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "EST4000.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "EST4100.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "APP2000.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR10001.ASPX" &&
            sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() != "USR3001.ASPX"
            )
        {
            sUrl = HttpContext.Current.Request.Url.PathAndQuery;
        }

        Biz_lib_MenuControl biz        = new Biz_lib_MenuControl();
        DataSet             dsAuthTop  = biz.GetAuthTopMenu(gUserInfo.Emp_Ref_ID.ToString());
        DataSet             dsAuthSub  = biz.GetAuthSubMenu(gUserInfo.Emp_Ref_ID.ToString());
        DataSet             dsAuthMenu = biz.GetAuthMenu(gUserInfo.Emp_Ref_ID.ToString());

        bool bAuthPage   = biz.IsAuthPage(gUserInfo.Emp_Ref_ID.ToString(), sUrl);
        bool bNotUseMenu = biz.IsNotUseMenu(gUserInfo.Emp_Ref_ID.ToString(), sUrl);

        //// 권한이 없을때 처리...
        if (!bAuthPage && err != "err")
        {
            //Server.Transfer("/_common/ErrorPages/ErrorInfo.aspx?ERRMSG=권한이 없습니다!");
            HttpContext.Current.Response.Redirect("/_common/ErrorPages/ErrorInfo.aspx?ERRMSG=권한이 없습니다!");
            return;
        }

        // 메뉴구성페이지가 아닐때 처리...
        if (bNotUseMenu)
        {
            return;
        }

        int       iTopMenuID = GetTopMenuRefID(sUrl);
        DataTable dtSubMenu  = GetSubMenu(iTopMenuID.ToString());

        #region TopMenu 설정
        string sTopLiteral = "";
        iTmp = 0;

        sTopLiteral += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">    \n";
        sTopLiteral += "    <tr>    \n";

        foreach (DataRow drRow in dsAuthTop.Tables[0].Rows)
        {
            sTopLiteral += "<td><img src=\"../images/blank.gif\" width=\"6\"></td>          ";
            sTopLiteral += "<td style=\"cursor:hand\" onclick=\"location.href='{0}';mfLeftTopTitle('{5}')\"               ";
            sTopLiteral += "                                    onmouseout=\"MM_swapImgRestore()\"              ";
            sTopLiteral += "                                    onmouseover=\"MM_swapImage('img{1}', '', '{2}')\"   ";
            sTopLiteral += "            ><img src=\"{3}\" name=\"img{4}\" border=0></td>                        ";

            sTopLiteral = string.Format(
                sTopLiteral
                , GetValue(drRow["MENU_FULL_PATH"])
                , GetValue(drRow["MENU_PAGE_NAME"]).Substring(0, GetValue(drRow["MENU_PAGE_NAME"]).LastIndexOf("."))
                , (iTopMenuID == Convert.ToInt32(drRow["MENU_REF_ID"]) ? GetValue(drRow["MENU_NAME_IMAGE_PATH"]) : GetValue(drRow["MENU_NAME_IMAGE_PATH_U"]))
                , (iTopMenuID == Convert.ToInt32(drRow["MENU_REF_ID"]) ? GetValue(drRow["MENU_NAME_IMAGE_PATH_U"]) : GetValue(drRow["MENU_NAME_IMAGE_PATH"]))
                , GetValue(drRow["MENU_PAGE_NAME"]).Substring(0, GetValue(drRow["MENU_PAGE_NAME"]).LastIndexOf("."))
                , GetValue(drRow["MENU_PREV_ICON_PATH"])
                );

            iTmp++;
        }

        sTopLiteral += "    </tr>   \n";
        sTopLiteral += "</table>    \n";

        litTopMenu.Text = sTopLiteral;
        #endregion


        #region 부서점수트리 설정
        //TreeNode trnTop = new TreeNode("Top", "TOP");
        //trvDeptScore.Nodes.Add(trnTop);
        //trnTop.ChildNodes.Add(new TreeNode("Child", "CHILD"));

        WebCommon.FillEstTree(trvDeptScore, 1000);

        #endregion
    }