Bug Report T265707
Visible to All Users

Dashboard title doesn't show correct parameter values after they were changed with the dashboard parameter button

created 10 years ago

I'm trying to change a dashboard title after the end user changes some dashboard parameters, but it doesn't seem to work with version 2015.1.3

C#
private void dashboardViewer_CustomParameters(object sender, DevExpress.DashboardCommon.CustomParametersEventArgs e)         {             DevExpress.DashboardWin.DashboardViewer viewer = (DevExpress.DashboardWin.DashboardViewer)sender;             string titolo = String.Empty;             if (e.Parameters[0].Value != null && e.Parameters[0].Value != DBNull.Value)                 titolo = String.Concat(titolo, String.Format("DAL {0:d}", e.Parameters[0].Value));             if (e.Parameters[1].Value != null && e.Parameters[1].Value != DBNull.Value)                 titolo = String.Concat(titolo, String.Format("{0}AL {1:d}", String.IsNullOrEmpty(titolo) ? "" : " ", e.Parameters[1].Value));             viewer.Dashboard.Title.Text = titolo;         }

If I debug, dashboard title seems to be changed after the last line of code, but the viewer always shows the original parameters values.
Am I missing something?

Thanks

Show previous comments (1)
A A
AndreaDellepiane 9 years ago

    I noticed the first time dashboardViewer_CustomParameters is raised, the Text changes correctly, but after that, if you change dashboard parameters value via the dashboard parameter button in the upper-right corner, it doesn't change the dashboard title text; debugging step by step viewer.Dashboard.Title.Text = titolo seems to work fine but the viewer doesn't refresh its title. Instead, data shown are correctly changed

    DevExpress Support Team 9 years ago

      Just wanted to drop you a note to let you know that we need a bit more time to finish working on our answer to your inquiry.  Thanks so much for your patience.

      DevExpress Support Team 9 years ago

        Hi Andrea,

        I've reproduced this behavior and passed this ticket to our developers. We will update the thread once we have any results.

        Answers approved by DevExpress Support

        created 9 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

        Additional information:

        Hello Andrea,
        We thoroughly investigated this scenario and decided to provide the CustomizeDashboardTitleText event to customize a dashboard title. Use the e.Text property to modify a title. Feel free to contact us if you have any further questions. We are ready to help you at any time.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.