Bug Report Q144018
Visible to All Users

Export - NullReferenceException is raised if ASPxPivotGrid contains a field with the GroupInterval property set to Custom

created 16 years ago

Hi
We are facing an erroe while exporting the data to either excel or pdf. But when i move Col1 to the filter area i am able to export the data.
Please find the sample code with sample data attached.
thanks
Rathna Subbu

Answers approved by DevExpress Support

created 16 years ago (modified 12 years ago)

Hello Rathna,
Thank you for the sample project. I've reproduced the problem and converted it to a bug report. An immediate workaround is to remove the following line:
Col2.GroupInterval = DevExpress.XtraPivotGrid.PivotGroupInterval.Custom;
Please also don't forget to add a reference to the DevExpress.XtraPrinting assembly.
Thank you,
Paul

    Comments (2)

      Hi, i have the same problem in application that use devexpress 8.2. Is there a solution ?

      DevExpress Support Team 12 years ago

        We fixed this issue in version 2008 vol 2.9. I suggest that you upgrade your project to this version. You can download this version from our website:
        https://www.devexpress.com/ClientCenter/Downloads/#DownloadManager

        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.