protected void Page_PreRender(object sender, EventArgs e) { if (!IsPostBack) { // Show mandatory footnotes? if (Table1.PromptForMandatoryFootnotes && (Request.Browser.EcmaScriptVersion.Major >= 1)) { List <FootnoteListItem> lstMandatoryFootnotes = FootnoteList.GetFootnoteList(PCAxis.Web.Core.Management.PaxiomManager.PaxiomModel.Meta, true); if (lstMandatoryFootnotes != null) { if (lstMandatoryFootnotes.Count > 0) { if (!MandatoryFootnotesDisplayed()) { ShowFootnoteDialog(true, false); // Remember that mandatory footnotes have been displayed for this table if (!string.IsNullOrEmpty(QuerystringManager.GetQuerystringParameter("px_tableid"))) { Session["promptmandatoryfootnotes"] = QuerystringManager.GetQuerystringParameter("px_tableid"); } } } } } } }
protected void Page_PreRender(object sender, EventArgs e) { if (!PXWeb.Settings.Current.Selection.StandardApplicationHeadTitle) { var siteTitle = PCAxis.Web.Core.Management.LocalizationManager.GetLocalizedString("SiteTitle"); if (PaxiomManager.PaxiomModel.Meta.DescriptionDefault && !string.IsNullOrEmpty(PaxiomManager.PaxiomModel.Meta.Description)) { Master.HeadTitle = PaxiomManager.PaxiomModel.Meta.Description; } else { Master.HeadTitle = PaxiomManager.PaxiomModel.Meta.Title; } Master.HeadTitle += ". " + siteTitle; } else { Master.HeadTitle = PCAxis.Web.Core.Management.LocalizationManager.GetLocalizedString("PxWebTitleTable"); } if (!IsPostBack) { // Show mandatory footnotes? if (Table1.PromptForMandatoryFootnotes && (Request.Browser.EcmaScriptVersion.Major >= 1)) { List <FootnoteListItem> lstMandatoryFootnotes = FootnoteList.GetFootnoteList(PCAxis.Web.Core.Management.PaxiomManager.PaxiomModel.Meta, true); if (lstMandatoryFootnotes != null) { if (lstMandatoryFootnotes.Count > 0) { if (!MandatoryFootnotesDisplayed()) { ShowFootnoteDialog(true, false); // Remember that mandatory footnotes have been displayed for this table if (!string.IsNullOrEmpty(PxUrlObj.Table)) { Session["promptmandatoryfootnotes"] = PxUrlObj.Table; } } } } } } SettingsLabel.Text = Master.GetLocalizedString("PxWebTableUserSettingsShow"); pnlForRblZeroOption.GroupingText = "<span class='font-heading'>" + Master.GetLocalizedString("PxWebTableUserSettingsLegend") + "</span>";; }