示例#1
0
    protected void rbtn_IsTemplate_Inherited_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (rbtn_IsTemplate_Inherited.SelectedValue == "0")
        {
            Panel_Template.Enabled = true;
        }
        else
        {
            Panel_Template.Enabled = false;

            // Load Pages Template
            //PageEditorMgr myPageEditorMgr = new PageEditorMgr();
            //Page_Lock_Template myPage_Lock_Template = myPageEditorMgr.Get_Page_Lock_Template(myPage_Loading_Info.Page_LockID);

            // Load Pages Template
            Page_PropertyMgr  myPropertyMgr         = new Page_PropertyMgr();
            Page_Loading_Info myParent_Loading_Info = myPropertyMgr.Get_Page_Loading_Info(myPage_Loading_Info.Parent_PageIndexID);

            // Look for Template
            RadComboBox_Template.SelectedValue = myParent_Loading_Info.MasterPageIndexID;

            // Active New Template
            btn_SwitchTemplate_Click(sender, e);
        }
    }
示例#2
0
        private void DataFill_Attribute()
        {
            Page_PropertyMgr  myPropertyMgr       = new Page_PropertyMgr();
            Page_Loading_Info myPage_Loading_Info = myPropertyMgr.Get_Page_Loading_Info(_parent_pageindexid);

            // Look for PageAtrribute
            tbx_Page_Title.Text       = myPage_Loading_Info.Page_Title;
            tbx_Page_Keyword.Text     = myPage_Loading_Info.Page_Keyword;
            tbx_Page_Description.Text = myPage_Loading_Info.Page_Description;
        }
示例#3
0
        private void DataFill_Template()
        {
            Page_PropertyMgr  myPropertyMgr       = new Page_PropertyMgr();
            Page_Loading_Info myPage_Loading_Info = myPropertyMgr.Get_Page_Loading_Info(_parent_pageindexid);

            // Look for Template
            droplist_Template.SelectedValue = myPage_Loading_Info.MasterPageIndexID;
            FormView_Template.PageIndex     = droplist_Template.SelectedIndex;
            FormView_Template.DataBind();
        }
示例#4
0
        // Inherited Page Template Changed
        protected void rbtn_IsTemplate_Inherited_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (rbtn_IsTemplate_Inherited.SelectedValue == "0")
            {
                Panel_Template.Enabled = true;
            }
            else
            {
                Panel_Template.Enabled = false;

                // Load Pages Template
                Page_PropertyMgr  myPropertyMgr         = new Page_PropertyMgr();
                Page_Loading_Info myPage_Loading_Info   = myPropertyMgr.Get_Page_Loading_Info(_pageindexid);
                Page_Loading_Info myParent_Loading_Info = myPropertyMgr.Get_Page_Loading_Info(myPage_Loading_Info.Parent_PageIndexID);

                // Look for Template
                droplist_Template.SelectedValue = myParent_Loading_Info.MasterPageIndexID;
                FormView_Template.PageIndex     = droplist_Template.SelectedIndex;
                FormView_Template.DataBind();
            }
        }
示例#5
0
        // Inherited Page Atrribute Changed
        protected void rbtn_IsAttribute_Inherited_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (rbtn_IsAttribute_Inherited.SelectedValue == "0")
            {
                Panel_PageAttribute.Enabled = true;
            }
            else
            {
                Panel_PageAttribute.Enabled = false;

                //Load Page Attribute

                Page_PropertyMgr  myPropertyMgr       = new Page_PropertyMgr();
                Page_Loading_Info myPage_Loading_Info = myPropertyMgr.Get_Page_Loading_Info(_pageindexid);

                tbx_Page_Title.Text       = myPage_Loading_Info.Page_Title;
                tbx_Page_Keyword.Text     = myPage_Loading_Info.Page_Keyword;
                tbx_Page_Description.Text = myPage_Loading_Info.Page_Description;
            }
        }
示例#6
0
        private void DataFill_Template(Page_Property myPage_Property)
        {
            Page_PropertyMgr myPropertyMgr = new Page_PropertyMgr();

            // Template
            if (myPage_Property.IsTemplate_Inherited)
            {
                rbtn_IsTemplate_Inherited.SelectedValue = "1";
            }
            else
            {
                rbtn_IsTemplate_Inherited.SelectedValue = "0";
                Panel_Template.Enabled = true;
            }

            // Load Pages Template
            Page_Loading_Info myPage_Loading_Info = myPropertyMgr.Get_Page_Loading_Info(_pageindexid);

            // Look for Template
            droplist_Template.SelectedValue = myPage_Loading_Info.MasterPageIndexID;
            FormView_Template.PageIndex     = droplist_Template.SelectedIndex;
            FormView_Template.DataBind();
        }
示例#7
0
        private void DataFill_Attribute(Page_Property myPage_Property)
        {
            // Head Content
            if (myPage_Property.IsAttribute_Inherited)
            {
                rbtn_IsAttribute_Inherited.SelectedValue = "1";
                Panel_PageAttribute.Enabled = false;
            }
            else
            {
                rbtn_IsAttribute_Inherited.SelectedValue = "0";
                Panel_PageAttribute.Enabled = true;
            }

            //Load Page Attribute

            Page_PropertyMgr  myPropertyMgr       = new Page_PropertyMgr();
            Page_Loading_Info myPage_Loading_Info = myPropertyMgr.Get_Page_Loading_Info(_pageindexid);

            tbx_Page_Title.Text       = myPage_Loading_Info.Page_Title;
            tbx_Page_Keyword.Text     = myPage_Loading_Info.Page_Keyword;
            tbx_Page_Description.Text = myPage_Loading_Info.Page_Description;
        }