Exemple #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ltrScript.Text = "";

        // 웹 취약성 검사 때문에 처리
        if (IType.Equals("-0") ||
            IYmd.Equals("-0") ||
            ISumType.Equals("-0") ||
            IPrintType.Equals("-0"))
        {
            ltrScript.Text = JSHelper.GetAlertScript("악성 요청을 거부합니다.", false);
            FormsAuthentication.SignOut();
            string login_page_url = WebUtility.GetConfig("Login_Page_Url", "~/base/Login.aspx");
            Response.Redirect(login_page_url);
        }

        if (!IsPostBack)
        {
            this.NotPostBackSetting();
            //IEstDeptID = -1;
            //SetDeptScoreCard();
        }
        else
        {
        }
    }
Exemple #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        writeLog(string.Format("{0} : Page_Load START", Request.PhysicalPath));

        //좌측메뉴설정
        //base.SetMenuControl(true, true, true);

        // 웹 취약성 검사 때문에 처리
        if (IYmd.Equals("-0") ||
            ISumType.Equals("-0") ||
            IBonID.Equals("-0") ||
            IBonNAME.Equals("-0") ||
            ITeamID.Equals("-0") ||
            ITeamNAME.Equals("-0") ||
            KPI_URL.Equals("-0"))
        {
            FormsAuthentication.SignOut();
            string login_page_url = WebUtility.GetConfig("Login_Page_Url", "~/base/Login.aspx");
            Response.Redirect(login_page_url);
        }

        if (!IsPostBack)
        {
            DropDownListCommom.BindEstTerm(ddlEstTermRefID);
            IEstTermRefID = WebUtility.GetIntByValueDropDownList(ddlEstTermRefID);

            MicroBSC.Integration.BSC.Biz.Biz_My_Kpi bizMyKpi = new MicroBSC.Integration.BSC.Biz.Biz_My_Kpi();
            IYmd = bizMyKpi.SelectCurrentYYYYMM();


            SetSCHDGrid("조직성과평가");
            btn1.ImageUrl = "../images/Intro/mywork1_on.png";
            btn2.ImageUrl = "../images/Intro/mywork2_off.png";
            btn3.ImageUrl = "../images/Intro/mywork3_off.png";
            btn4.ImageUrl = "../images/Intro/mywork4_off.png";

            SetMyKPIGrid();
            SetNoticeGrid();
            SetFAQGrid();
            DisplayScore();
        }
        else
        {
        }



        writeLog(string.Format("{0} : Page_Load END", Request.PhysicalPath));
    }