예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!String.IsNullOrEmpty(Request.QueryString["type"]))
            {
                pageType = ContentPageType.GetTypeByName(Request.QueryString["type"].ToString());
            }

            if (pageType == ContentPageType.PageType.ContentEntry)
            {
                Master.ActivateTab(AdminBaseMasterPage.SectionID.PageComment);
            }
            else
            {
                Master.ActivateTab(AdminBaseMasterPage.SectionID.BlogComment);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!String.IsNullOrEmpty(Request.QueryString["type"]))
            {
                pageType = ContentPageType.GetTypeByName(Request.QueryString["type"].ToString());
            }

            if (!IsPostBack)
            {
                ddlSize.SelectedValue = pagedDataGrid.PageSize.ToString();

                GeneralUtilities.BindOptionalYesNoList(ddlActive);
                GeneralUtilities.BindOptionalYesNoList(ddlSpam);
            }

            guidRootContentID = GetGuidIDFromQuery();

            BindData();
        }