Exemple #1
0
        private void Load_Category(string PageIndexID)
        {
            PageMgr   myPageMgr         = new PageMgr();
            PageIndex myChild_PageIndex = myPageMgr.Get_Child_PageIndex(PageIndexID, null);

            Response.Redirect(Nexus.Core.Tools.URLParse.Update_Arg(Request.Url.ToString(), "PageIndexID", myChild_PageIndex.PageIndexID));
        }
Exemple #2
0
        private string Chk_PageType(PageIndex myPageIndex)
        {
            PageMgr myPageMgr = new PageMgr();

            switch (myPageIndex.Page_Type)
            {
            case Page_Type.Normal_Page:
                return(myPageIndex.PageIndexID);

            case Page_Type.Category:
                PageIndex myChild_PageIndex = myPageMgr.Get_Child_PageIndex(myPageIndex.PageIndexID, null);
                return(myChild_PageIndex.PageIndexID);

            case Page_Type.Internal_Page_Pointer:
                return(myPageIndex.PageIndexID);

            case Page_Type.External_Link:
                return(myPageIndex.PageIndexID);
            }

            return(myPageIndex.PageIndexID);
        }