Bug Report T304829
Visible to All Users

TargetInvocationException is thrown when the field orientation is changed  

created 9 years ago

[DevExpress Support Team: CLONED FROM T304800: bar condition cannot be set between the BeginUpdate EndUpdateAsync methods]
Hi,

We are using your WPF PivotGridControl for a reporting application and we would like to use your Data Bar conditional formatting.

However, I have encountered a few issues when applying the DataBarFormatConditions that I hope you can help me with.

  1. When I have a DataBarFormatCondition applied and I update the field orientation, then I get a TargetInvocationException with the InnerException stating that "The calling thread cannot access this object because a different thread owns it."

In the attached sample this can be reproduced by clicking the "Data Bar Format Succeeds" button and then dragging the ID field into the Row Fields area.

Please could you take a look and let me know whether there is any way around these issues, or whether I'm doing something wrong!

Thanks in advance,
Stuart

Comments (2)
SS SS
Stuart Smith 6 9 years ago

    Attached data file required to run sample (copy to Resources folder)

    DevExpress Support Team 9 years ago

      Thank you for providing us with an example, Stuart.
      I have passed this ticket to our team for further research. Please bear with us, we will get back to you as soon as possible.

      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.

        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.