コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                imgTimeWarning.ImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(BreadcrumbCodebehind), "PCAxis.Web.Controls.spacer.gif");
                FillDropDownlist();

                lblResultAs.Text = LocalizationManager.GetLocalizedString(SAVE_AS_CAPTION);
                lnkCancelSaveQuery.NavigateUrl = PanelLink.BuildLink("");
                lnkBack.NavigateUrl            = PanelLink.BuildLink("savequery1");
            }
            SetDisplayModeOnPanels();
        }
コード例 #2
0
ファイル: Chart.aspx.cs プロジェクト: trygu/PxWeb
        private void SetDisplayModeOnPanels()
        {
            if (!string.IsNullOrEmpty(QuerystringManager.GetQuerystringParameter(PanelLink.DISPLAY_PANEL)))
            {
                if (QuerystringManager.GetQuerystringParameter(PanelLink.DISPLAY_PANEL).Equals("chartsettings"))
                {
                    pnlSettings.Style.Add("display", "inline-block");
                    lnkShowChartSettings.NavigateUrl = PanelLink.BuildLink("");
                    imgSettingsExpander.CssClass     = "px-settings-collapseimage";
                    return;
                }
            }

            pnlSettings.Style.Add("display", "none");
            lnkShowChartSettings.NavigateUrl = PanelLink.BuildLink("chartsettings");
            imgSettingsExpander.CssClass     = "px-settings-expandimage";
        }
コード例 #3
0
ファイル: Presentation.master.cs プロジェクト: trygu/PxWeb
 private void SetSaveQueryLinks()
 {
     if (this.Visible)
     {
         if (!string.IsNullOrEmpty(QuerystringManager.GetQuerystringParameter(PanelLink.DISPLAY_PANEL)))
         {
             if (QuerystringManager.GetQuerystringParameter(PanelLink.DISPLAY_PANEL).Equals("savequery1"))
             {
                 lnkSaveQueryInformation.NavigateUrl = PanelLink.BuildLink("");
                 imgShowSaveQueryExpander.CssClass   = "px-settings-collapseimage";
                 return;
             }
         }
         lnkSaveQueryInformation.NavigateUrl = PanelLink.BuildLink("savequery1");
         imgShowSaveQueryExpander.CssClass   = "px-settings-expandimage";
     }
 }
コード例 #4
0
ファイル: Chart.aspx.cs プロジェクト: trygu/PxWeb
        protected void Page_Load(object sender, EventArgs e)
        {
            PCAxis.Web.Core.Management.PaxiomManager.PaxiomModelBuilder = null;

            if (!IsPostBack)
            {
                imgSettingsExpander.ImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(BreadcrumbCodebehind), "PCAxis.Web.Controls.spacer.gif");
                InitializeChart();

                if (PCAxis.Web.Core.Management.PaxiomManager.PaxiomModel != null)
                {
                    InitializeCommandBar();
                }
                //lnkShowChartSettings.NavigateUrl = PanelLink.BuildLink("chartsettings");
                //lnkHideChartSettings.NavigateUrl = PanelLink.BuildLink("");
                SetDisplayModeOnPanels();
            }
            PCAxis.Web.Core.Management.PaxiomManager.RegisterPaxiomModelChanged(PaxoimModelChanged);
            IsLanguageChanged();
            lnkCancelSettings.NavigateUrl = PanelLink.BuildLink("");
        }
コード例 #5
0
ファイル: Table.aspx.cs プロジェクト: trygu/PxWeb
        protected void Page_Load(object sender, EventArgs e)
        {
            PCAxis.Web.Core.Management.PaxiomManager.PaxiomModelBuilder = null;

            if (!IsPostBack)
            {
                imgSettingsExpander.ImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(BreadcrumbCodebehind), "PCAxis.Web.Controls.spacer.gif");
                imgTableCropped.ImageUrl     = Page.ClientScript.GetWebResourceUrl(typeof(BreadcrumbCodebehind), "PCAxis.Web.Controls.spacer.gif");
                if (PCAxis.Web.Core.Management.PaxiomManager.PaxiomModel != null)
                {
                    InitializeCommandBar();
                    InitializeTableInformation();
                    InitializeTable();
                }
                //lnkShowTblSettings.NavigateUrl = PanelLink.BuildLink("tablesettings");
                //lnkHideTblSettings.NavigateUrl = PanelLink.BuildLink("");
            }
            SetDisplayModeOnPanels();
            Table1.PxTableCroppedEvent += new EventHandler(HandlePxTableCroppedEvent);

            lblTableCropped.Visible       = false;
            imgTableCropped.Visible       = false;
            lnkCancelSettings.NavigateUrl = PanelLink.BuildLink("");
        }