예제 #1
0
    private void SetNoticeBoard()
    {
        Biz_MenuInfo objMenuInfo = new Biz_MenuInfo();

        string strMenuFullPath = HttpContext.Current.Request.Url.AbsolutePath + HttpContext.Current.Request.Url.Query;

        CURRENT_PAGE_MENU_ID = objMenuInfo.GetMenuIDByMenuFullPath(strMenuFullPath);
        if (CURRENT_PAGE_MENU_ID != 0)
        {
            CheckNoticePopupMenu(CURRENT_PAGE_MENU_ID);
        }
        else
        {
            string sUrl = HttpContext.Current.Request.Url.AbsolutePath;
            if (sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() == "EST110104.ASPX" ||
                sUrl.Substring(sUrl.LastIndexOf("/") + 1).ToUpper() == "EST110104_01.ASPX")
            {
                CURRENT_PAGE_MENU_ID = objMenuInfo.GetMenuIDByMenuFullPath(sUrl);
                if (CURRENT_PAGE_MENU_ID != 0)
                {
                    CheckNoticePopupMenu(CURRENT_PAGE_MENU_ID);
                }
            }
        }
    }
예제 #2
0
    private void SetNoticeBoard()
    {
        Biz_MenuInfo objMenuInfo = new Biz_MenuInfo();

        string strMenuFullPath = HttpContext.Current.Request.Url.AbsolutePath + HttpContext.Current.Request.Url.Query;

        CURRENT_PAGE_MENU_ID = objMenuInfo.GetMenuIDByMenuFullPath(strMenuFullPath);

        if (CURRENT_PAGE_MENU_ID != 0)
        {
            CheckNoticePopupMenu(CURRENT_PAGE_MENU_ID);
        }
    }