Skip to Content
author's profile photo Former Member
Former Member

SAP Crystal report viewer causes post back in ASP.Net application

Hi

I am using SAP Crystal report viewer for loading reports in an ASP.Net application. The crystal report version is 13 and VS version 2010. The issue is, after loading the report, when the user moves to the next page or select any record from left side group tree or zoom or do any action, it causes a postback and it loses all the information about the report and its parameters. This makes us to re-set all the values and load the report again in the report viewer. This causes a major performance hit and i would like to get any solutions for this. I tried to put the viewer inside AJAX update panel, but still it doesnt work. Please help me, because the client is putting lot of pressure to solve this problem.

Thanks

Biju

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 05, 2011 at 01:32 PM

    Hi,

    Use of 'Sessions' should solve your problem.

    Add the reportdocument object into a session and then use it, it will avoid the postbacks.

    Take a look at the below article

    [Improving Crystal Reports Performance in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8029cc96-6ff3-2b10-47a2-b30ea790ea5b]

    Hope it helps,

    Bhushan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.