Example #1
0
        protected void btn_Normal_Delete_Click(object sender, EventArgs e)
        {
            if (!DataEval.IsEmptyQuery(_pageindexid))
            {
                PageMgr          myPageMgr          = new PageMgr();
                Page_PropertyMgr myPage_PropertyMgr = new Page_PropertyMgr();

                PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

                switch (myPageIndex.Page_Type)
                {
                case Page_Type.Normal_Page:
                    myPageMgr.Delete_PageIndex(_pageindexid);
                    break;

                case Page_Type.Category:
                    myPageMgr.Delete_PageIndex(_pageindexid);
                    break;

                case Page_Type.Internal_Page_Pointer:
                    myPage_PropertyMgr.Remove_Page_IntLink(_pageindexid);
                    myPageMgr.Remove_PageIndex(_pageindexid);
                    break;

                case Page_Type.External_Link:
                    myPage_PropertyMgr.Remove_Page_ExtLink(_pageindexid);
                    myPageMgr.Remove_PageIndex(_pageindexid);
                    break;
                }

                OnDeletePageClick(sender, e);
            }
        }
Example #2
0
        protected void btn_Live_SetHomePage_Click(object sender, EventArgs e)
        {
            if (!DataEval.IsEmptyQuery(_pageindexid))
            {
                PageMgr   myPageMgr   = new PageMgr();
                PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

                if (myPageIndex.Page_CategoryID == "2")
                {
                    Tools.AlertMessage.Show_Alert(this.Page, "<h4>Inactive page can not be set as homepage.", "Action failed!");
                    return;
                }


                Phrases.PhraseMgr myPhraseMgr = new Phrases.PhraseMgr();

                e2Data[] UpdateData =
                {
                    new e2Data("VarName",     "NexusCore_HomepageID"),
                    new e2Data("PhraseValue", _pageindexid)
                };

                myPhraseMgr.Edit_Phrase(UpdateData);

                OnClick(sender, e);
            }
        }
Example #3
0
        protected void btn_Normal_Move_Click(object sender, EventArgs e)
        {
            if (!DataEval.IsEmptyQuery(_pageindexid))
            {
                PageMgr myPageMgr = new PageMgr();

                PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

                switch (droplist_Normal_Folders.SelectedValue)
                {
                case "1":
                    // move to active folder
                    if (myPageIndex.Page_CategoryID == "2")
                    {
                        e2Data[] UpdateData_Active =
                        {
                            new e2Data("PageIndexID",     _pageindexid),
                            new e2Data("Page_CategoryID", "1")
                        };

                        myPageMgr.Edit_PageIndex(UpdateData_Active);
                    }
                    else
                    {
                        SiteMenu mySiteMenu = new SiteMenu();
                        mySiteMenu.Reset_Menu_RootOrder();

                        int Count_Child = myPageMgr.Count_Child_PageIndex("-1", "1,2") + 1;

                        e2Data[] UpdateData_Active =
                        {
                            new e2Data("PageIndexID",        _pageindexid),
                            new e2Data("Parent_PageIndexID", "-1"),
                            new e2Data("Page_CategoryID",    "1"),
                            new e2Data("SortOrder",          Count_Child.ToString())
                        };

                        myPageMgr.Edit_PageIndex(UpdateData_Active);
                    }
                    break;

                default:
                    e2Data[] UpdateData_Default =
                    {
                        new e2Data("PageIndexID",     _pageindexid),
                        new e2Data("Page_CategoryID", droplist_Normal_Folders.SelectedValue)
                    };

                    myPageMgr.Edit_PageIndex(UpdateData_Default);
                    break;
                }

                OnClick(sender, e);
            }
        }
Example #4
0
        protected void tbx_PageName_TextChanged(object sender, EventArgs e)
        {
            PageMgr   myPageMgr   = new PageMgr();
            PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

            URLrewriter.UrlMgr myUrlMgr = new URLrewriter.UrlMgr();
            tbx_PageURL.Text = myUrlMgr.Get_PageIndex_URL(myPageIndex.Parent_PageIndexID)
                               + "/"
                               + tbx_PageName.Text
                               + ".aspx";
        }
Example #5
0
        private void DataFill_PageURLs()
        {
            // PageURL
            PageMgr   myPageMgr   = new PageMgr();
            PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

            URLrewriter.UrlMgr myUrlMgr = new URLrewriter.UrlMgr();
            tbx_PageURL.Text = myUrlMgr.Get_PageIndex_URL(myPageIndex.Parent_PageIndexID)
                               + "/"
                               + tbx_PageName.Text
                               + ".aspx";
        }
Example #6
0
        public void PageIndex_Selected()
        {
            if (!DataEval.IsEmptyQuery(_pageindexid))
            {
                PageMgr   myPageMgr   = new PageMgr();
                PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

                lbl_PageName.Text = myPageIndex.Page_Name;
            }
            else
            {
                lbl_PageName.Text = "Page unselected";
            }
        }
Example #7
0
        public void PageIndex_Selected()
        {
            if (!DataEval.IsEmptyQuery(_pageindexid) && _pageindexid != "-1")
            {
                PageMgr   myPageMgr   = new PageMgr();
                PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

                lbl_PageName.Text = myPageIndex.Menu_Title;
            }
            else
            {
                lbl_PageName.Text = "Unselected";
            }
        }
Example #8
0
        public void PageIndex_Selected()
        {
            if (!DataEval.IsEmptyQuery(_pageindexid))
            {
                PageMgr   myPageMgr   = new PageMgr();
                PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

                lbl_PageName.Text = myPageIndex.Page_Name;

                // Create Client Delete Confirm
                btn_Normal_Delete.OnClientClick = string.Format("return confirm('Are you sure you want to delete page {0} ?');", myPageIndex.Page_Name);
            }
            else
            {
                lbl_PageName.Text = "Page unselected";
            }
        }
Example #9
0
        // 获取Menu内容
        public DataSet Get_Menu(string PageIndexID, bool DisplaySameLevel, bool DisplayCategory)
        {
            string Table_Name = "View_NexusCore_PageIndex_List";

            string Filter = "Page_CategoryID = 1";

            // Show Item On Menu Only
            Filter += " AND "
                      + "IsOnMenu = true";

            // Menu Level
            if (DisplaySameLevel)
            {
                if (PageIndexID == "-1")
                {
                    Filter += " AND "
                              + "Parent_PageIndexID = " + DataEval.QuoteText(PageIndexID);
                }
                else
                {
                    PageMgr   myPageMgr   = new PageMgr();
                    PageIndex myPageIndex = myPageMgr.Get_PageIndex(PageIndexID);

                    Filter += " AND "
                              + "Parent_PageIndexID = " + DataEval.QuoteText(myPageIndex.Parent_PageIndexID);
                }
            }
            else
            {
                Filter += " AND "
                          + "Parent_PageIndexID = " + DataEval.QuoteText(PageIndexID);
            }

            // Menu Category
            if (!DisplayCategory)
            {
                Filter += " AND "
                          + "Page_Type != " + DataEval.QuoteText("Category");
            }

            string SortOrder = "SortOrder";

            return(Show_Items(Table_Name, null, Filter, SortOrder, -1));
        }
Example #10
0
        private void Refresh()
        {
            PageMgr          myPageMgr          = new PageMgr();
            Page_PropertyMgr myPage_PropertyMgr = new Page_PropertyMgr();
            PageIndex        myPageIndex        = myPageMgr.Get_PageIndex(_pageindexid);

            switch (myPageIndex.Page_Type)
            {
            case Page_Type.Normal_Page:
                iframe_PageEditor_Basic.Attributes["src"]    = string.Format("Pages/Default.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format("Pages/Advanced.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);

                // Button operating
                btn_DesignMode.CommandArgument = myPageIndex.PageIndexID;
                btn_DesignMode.Visible         = true;

                // Property
                btn_Preview.Visible = true;
                btn_Modify.Visible  = true;

                break;

            case Page_Type.Category:
                iframe_PageEditor_Basic.Attributes["src"]    = string.Format("Pages/Category.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format("Pages/Category.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);

                // Button operating
                btn_DesignMode.CommandArgument = null;
                btn_DesignMode.Visible         = false;

                // Property
                btn_Preview.Visible = false;
                btn_Modify.Visible  = false;

                break;

            case Page_Type.Internal_Page_Pointer:
                Page_IntLink myPage_IntLink = myPage_PropertyMgr.Get_Page_IntLink(PageIndexID);

                iframe_PageEditor_Basic.Attributes["src"]    = string.Format("Pages/Default.aspx?PageIndexID={0}&PageLink=Disable", myPage_IntLink.PagePointerID);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format("Pages/Default.aspx?PageIndexID={0}&PageLink=Disable", myPage_IntLink.PagePointerID);

                // Button operating
                btn_DesignMode.CommandArgument = null;
                btn_DesignMode.Visible         = false;

                // Property
                btn_Preview.Visible = false;
                btn_Modify.Visible  = false;

                break;

            case Page_Type.External_Link:
                Page_ExtLink myPage_ExtLink = myPage_PropertyMgr.Get_Page_ExtLink(PageIndexID);

                iframe_PageEditor_Basic.Attributes["src"]    = string.Format(myPage_ExtLink.Page_URL);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format(myPage_ExtLink.Page_URL);

                // Button operating
                btn_DesignMode.CommandArgument = null;
                btn_DesignMode.Visible         = false;

                // Property
                btn_Preview.Visible = false;
                btn_Modify.Visible  = false;

                break;

            default:
                iframe_PageEditor_Basic.Attributes["src"]    = string.Format("/Homepage.aspx?PageIndexID={0}ThisIsDefault", myPageIndex.PageIndexID);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format("/Homepage.aspx?PageIndexID={0}ThisIsDefault", myPageIndex.PageIndexID);

                // Button operating
                btn_DesignMode.CommandArgument = null;
                btn_DesignMode.Visible         = false;

                // Property
                btn_Preview.Visible = false;
                btn_Modify.Visible  = false;

                break;
            }

            // Page Property
            //PageProperty_Show.PageIndexID = _pageindexid;
            // Page Privacy
            //PagePrivacy_Show.PageIndexID = _pageindexid;
        }
Example #11
0
        private void Refresh()
        {
            PageMgr   myPageMgr   = new PageMgr();
            PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

            switch (myPageIndex.Page_Type)
            {
            case Page_Type.Normal_Page:
                iframe_PageEditor_Basic.Attributes["src"]    = string.Format("Pages/Default.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format("Pages/Advanced.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);

                // Button operating
                btn_DesignMode_Basic.CommandArgument    = myPageIndex.PageIndexID;
                btn_DesignMode_Advanced.CommandArgument = myPageIndex.PageIndexID;
                btn_DesignMode_Basic.Visible            = true;
                btn_DesignMode_Advanced.Visible         = true;

                // Property
                RadTabStrip_Page.Tabs[0].Visible = true;
                RadTabStrip_Page.Tabs[1].Visible = true;
                RadTabStrip_Page.Tabs[2].Visible = true;
                RadTabStrip_Page.Tabs[3].Visible = false;

                break;

            case Page_Type.Category:
                iframe_PageEditor_Basic.Attributes["src"]    = string.Format("Pages/Category.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format("Pages/Category.aspx?PageIndexID={0}&PageLink=Disable", myPageIndex.PageIndexID);

                // Button operating
                btn_DesignMode_Basic.CommandArgument    = null;
                btn_DesignMode_Advanced.CommandArgument = null;
                btn_DesignMode_Basic.Visible            = false;
                btn_DesignMode_Advanced.Visible         = false;

                // Property
                RadTabStrip_Page.Tabs[0].Visible = true;
                RadTabStrip_Page.Tabs[1].Visible = true;
                RadTabStrip_Page.Tabs[2].Visible = true;
                RadTabStrip_Page.Tabs[3].Visible = false;

                break;

            default:
                iframe_PageEditor_Basic.Attributes["src"]    = string.Format("/Homepage.aspx?PageIndexID={0}ThisIsDefault", myPageIndex.PageIndexID);
                iframe_PageEditor_Advanced.Attributes["src"] = string.Format("/Homepage.aspx?PageIndexID={0}ThisIsDefault", myPageIndex.PageIndexID);

                // Button operating
                btn_DesignMode_Basic.CommandArgument    = null;
                btn_DesignMode_Advanced.CommandArgument = null;
                btn_DesignMode_Basic.Visible            = false;
                btn_DesignMode_Advanced.Visible         = false;

                // Property
                RadTabStrip_Page.Tabs[0].Visible = false;
                RadTabStrip_Page.Tabs[1].Visible = false;
                RadTabStrip_Page.Tabs[2].Visible = false;
                RadTabStrip_Page.Tabs[3].Visible = false;

                break;
            }

            // Page Property
            PageProperty_Show.PageIndexID = _pageindexid;
        }
Example #12
0
        private void Refresh()
        {
            PageMgr   myPageMgr   = new PageMgr();
            PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

            switch (myPageIndex.Page_Type)
            {
            case Page_Type.Normal_Page:
                btn_MetaTag.Visible = true;
                btn_Version.Visible = true;
                break;

            case Page_Type.Category:
                if (RadPageView_Version.Selected || RadPageView_MetaTag.Selected)
                {
                    RadMultiPage_Editor.SelectedIndex = RadPageView_Property.Index;
                    iframeButtons_Reset();
                }

                btn_MetaTag.Visible = false;
                btn_Version.Visible = false;
                break;

            case Page_Type.Internal_Page_Pointer:
                if (RadPageView_Version.Selected || RadPageView_MetaTag.Selected || RadPageView_Privacy.Selected)
                {
                    RadMultiPage_Editor.SelectedIndex = RadPageView_Property.Index;
                    iframeButtons_Reset();
                }

                btn_MetaTag.Visible = false;
                btn_Version.Visible = false;
                btn_Privacy.Visible = false;

                break;

            case Page_Type.External_Link:
                if (RadPageView_Version.Selected || RadPageView_MetaTag.Selected || RadPageView_Privacy.Selected)
                {
                    RadMultiPage_Editor.SelectedIndex = RadPageView_Property.Index;
                    iframeButtons_Reset();
                }

                btn_MetaTag.Visible = false;
                btn_Version.Visible = false;
                btn_Privacy.Visible = false;

                break;

            default:

                break;
            }

            // Page Property
            PageProperty_Show.PageIndexID = _pageindexid;
            // Page MetaTag
            PageMetaTag_Show.PageIndexID = _pageindexid;
            // Page Privacy
            PagePrivacy_Show.PageIndexID = _pageindexid;
            // Page Version
            PageVersion_Show.PageIndexID = _pageindexid;
        }
Example #13
0
        public void Control_FillData()
        {
            #region Set Default Setting

            Panel_Updated.Visible = false;

            #region Step 2 General

            // Page URL
            tbx_LinkURL.Text            = "";
            RadComboBox_LinkTarget.Text = "";
            Panel_PageLink.Visible      = false;

            // Page General
            tbx_MenuName.Text                = "";
            rbtn_IsOnMenu.SelectedValue      = "1";
            rbtn_IsOnNavigator.SelectedValue = "1";

            rbtn_IsAttribute_Inherited.SelectedValue = "1";

            // Head Content
            tbx_Page_Title.Text         = "";
            tbx_Page_Keyword.Text       = "";
            tbx_Page_Description.Text   = "";
            Panel_PageAttribute.Visible = false;
            #endregion

            #region Step 2 More Options

            // Template
            rbtn_IsTemplate_Inherited.SelectedValue = "1";
            Panel_Template.Enabled = false;

            // URL rewrite
            tbx_Page_Name.Text = "";

            // Security
            rbtn_IsPrivacy_Inherited.SelectedValue = "1";
            rbtn_IsSSL.SelectedValue = "0";

            #endregion

            #endregion


            PageMgr   myPageMgr   = new PageMgr();
            PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

            // Page General
            tbx_MenuName.Text = myPageIndex.Page_Name;

            // Page
            Page_PropertyMgr myPropertyMgr   = new Page_PropertyMgr();
            Page_Property    myPage_Property = myPropertyMgr.Get_Page_Property(_pageindexid);

            rbtn_IsOnMenu.SelectedValue      = DataEval.Convert_BoolToString(myPage_Property.IsOnMenu);
            rbtn_IsOnNavigator.SelectedValue = DataEval.Convert_BoolToString(myPage_Property.IsOnNavigator);


            switch (myPageIndex.Page_Type)
            {
            case Page_Type.Normal_Page:
                Panel_PageLink.Visible        = false;
                Panel_HeadContent.Visible     = true;
                Panel_Page_Templates.Visible  = true;
                Panel_Page_URLs.Visible       = true;
                Panel_Page_Securities.Visible = true;

                DataFill_Attribute(myPage_Property);
                DataFill_Template(myPage_Property);
                DataFill_PageURLs(myPage_Property);
                DataFill_Security(myPage_Property);

                break;

            case Page_Type.Category:
                Panel_PageLink.Visible        = false;
                Panel_HeadContent.Visible     = true;
                Panel_Page_Templates.Visible  = true;
                Panel_Page_URLs.Visible       = true;
                Panel_Page_Securities.Visible = true;

                DataFill_Attribute(myPage_Property);
                DataFill_Template(myPage_Property);
                DataFill_PageURLs(myPage_Property);
                DataFill_Security(myPage_Property);

                break;

            case Page_Type.Internal_Page_Pointer:
                Panel_PageLink.Visible        = true;
                Panel_HeadContent.Visible     = false;
                Panel_Page_Templates.Visible  = false;
                Panel_Page_URLs.Visible       = true;
                Panel_Page_Securities.Visible = true;

                DataFill_IntLink();
                DataFill_PageURLs(myPage_Property);
                DataFill_Security(myPage_Property);

                break;

            case Page_Type.External_Link:
                Panel_PageLink.Visible        = true;
                Panel_HeadContent.Visible     = false;
                Panel_Page_Templates.Visible  = false;
                Panel_Page_URLs.Visible       = true;
                Panel_Page_Securities.Visible = true;

                DataFill_ExtLink();
                DataFill_PageURLs(myPage_Property);
                DataFill_Security(myPage_Property);

                break;
            }
        }
Example #14
0
        protected void btn_UpdatePage_Click(object sender, EventArgs e)
        {
            if (Page.IsValid)
            {
                PageMgr   myPageMgr   = new PageMgr();
                PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

                // Page Index
                e2Data[] UpdateData_PageIndex =
                {
                    new e2Data("PageIndexID", _pageindexid),
                    new e2Data("Page_Name",   tbx_MenuName.Text)
                };

                myPageMgr.Edit_PageIndex(UpdateData_PageIndex);

                // Page Properties
                Edit_Property(_pageindexid);

                switch (myPageIndex.Page_Type)
                {
                // Create Normal Page
                case Page_Type.Normal_Page:

                    if (rbtn_IsTemplate_Inherited.SelectedValue == "1")
                    {
                        Remove_Template(_pageindexid);
                    }
                    else
                    {
                        Edit_Template(_pageindexid);
                    }


                    if (rbtn_IsAttribute_Inherited.SelectedValue == "1")
                    {
                        Remove_Attribute(_pageindexid);
                    }
                    else
                    {
                        Edit_Attribute(_pageindexid);
                    }

                    break;

                // Create Category
                case Page_Type.Category:

                    if (rbtn_IsTemplate_Inherited.SelectedValue == "1")
                    {
                        Remove_Template(_pageindexid);
                    }
                    else
                    {
                        Edit_Template(_pageindexid);
                    }


                    if (rbtn_IsAttribute_Inherited.SelectedValue == "1")
                    {
                        Remove_Attribute(_pageindexid);
                    }
                    else
                    {
                        Edit_Attribute(_pageindexid);
                    }

                    break;

                case Page_Type.Internal_Page_Pointer:
                    Edit_IntLink(_pageindexid);
                    break;

                case Page_Type.External_Link:
                    Edit_ExtLink(_pageindexid);
                    break;
                }

                Panel_Updated.Visible = true;
            }
        }
Example #15
0
        public void Control_FillData()
        {
            #region Set Default Setting

            Panel_Updated.Visible = false;

            #region Step 2 General

            // Page URL
            tbx_LinkURL.Text            = "";
            RadComboBox_LinkTarget.Text = "";
            Panel_PageLink.Visible      = false;

            // Page General
            tbx_MenuName.Text                = "";
            rbtn_IsOnMenu.SelectedValue      = "1";
            rbtn_IsOnNavigator.SelectedValue = "1";

            rbtn_IsAttribute_Inherited.SelectedValue = "1";

            // Head Content
            tbx_Page_Title.Text         = "";
            tbx_Page_Keyword.Text       = "";
            tbx_Page_Description.Text   = "";
            Panel_PageAttribute.Enabled = false;
            #endregion

            #region Step 2 More Options

            // Template
            MasterPageMgr myMasterPageMgr = new MasterPageMgr();
            droplist_Template.DataSource     = myMasterPageMgr.Get_Template_MasterPage_DropList(null);
            droplist_Template.DataTextField  = "MasterPage_Name";
            droplist_Template.DataValueField = "MasterPageIndexID";
            droplist_Template.DataBind();

            FormView_Template.DataSource = myMasterPageMgr.Get_Template_MasterPage_DropList(null);
            FormView_Template.DataBind();

            rbtn_IsTemplate_Inherited.SelectedValue = "1";
            Panel_Template.Enabled = false;

            // URL rewrite
            tbx_PageName.Text = "";

            #endregion

            #endregion


            PageMgr   myPageMgr   = new PageMgr();
            PageIndex myPageIndex = myPageMgr.Get_PageIndex(_pageindexid);

            // Page General
            tbx_MenuName.Text = myPageIndex.Menu_Title;
            tbx_PageName.Text = myPageIndex.Page_Name;

            // Page
            Page_PropertyMgr myPropertyMgr   = new Page_PropertyMgr();
            Page_Property    myPage_Property = myPropertyMgr.Get_Page_Property(_pageindexid);

            rbtn_IsOnMenu.SelectedValue      = DataEval.Convert_BoolToString(myPage_Property.IsOnMenu);
            rbtn_IsOnNavigator.SelectedValue = DataEval.Convert_BoolToString(myPage_Property.IsOnNavigator);


            switch (myPageIndex.Page_Type)
            {
            case Page_Type.Normal_Page:
                Panel_PageLink.Visible       = false;
                Panel_HeadContent.Visible    = true;
                Panel_Page_Templates.Visible = true;
                Panel_Page_URLs.Visible      = true;

                DataFill_Attribute(myPage_Property);
                DataFill_Template(myPage_Property);
                DataFill_PageURLs();

                break;

            case Page_Type.Category:
                Panel_PageLink.Visible       = false;
                Panel_HeadContent.Visible    = true;
                Panel_Page_Templates.Visible = true;
                Panel_Page_URLs.Visible      = true;

                DataFill_Attribute(myPage_Property);
                DataFill_Template(myPage_Property);
                DataFill_PageURLs();

                break;

            case Page_Type.Internal_Page_Pointer:
                lbl_LinkURL.Text             = "Pointer PageIndexID";
                Panel_PageLink.Visible       = true;
                Panel_HeadContent.Visible    = false;
                Panel_Page_Templates.Visible = false;
                Panel_Page_URLs.Visible      = true;

                DataFill_IntLink();
                DataFill_PageURLs();

                break;

            case Page_Type.External_Link:
                lbl_LinkURL.Text             = "Page URL";
                Panel_PageLink.Visible       = true;
                Panel_HeadContent.Visible    = false;
                Panel_Page_Templates.Visible = false;
                Panel_Page_URLs.Visible      = true;

                DataFill_ExtLink();
                DataFill_PageURLs();

                break;
            }
        }