protected void BindDDLs() { GeneralUtilities.BindOptionalYesNoList(ddlActive); GeneralUtilities.BindOptionalYesNoList(ddlNavigation); GeneralUtilities.BindOptionalYesNoList(ddlSiteMap); GeneralUtilities.BindOptionalYesNoList(ddlHide); }
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(); }