on 08-28-2015 4:14 PM
Hello,
we have several reports which take minutes to generate. Is there a way in CRVS to show a "Please wait" or "Loading" message while the report is loading?
SAP Crystal Reports, version for Microsoft Visual Studio v 13.0.14.1720
Microsoft Visual Studio 2013
Thanks
Hi David
See the KBA 1323583 - How to create a Progress Dialog with Crystal Reports In Visual Studio .NET
Note that this only applies to web apps. No solution for WIN viewer.
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
Got Enhancement ideas? Use the SAP Idea Place
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ludek,
Thank you.
I added that, but it does not seem to be working still.
Here is what I have in the web.config - which is at the same level as the page that is rendering the report:
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports" >
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="documentView" value="weblayout"/>
<add key="processingIndicatorDelay" value="20"/>
<add key="processingIndicatorText" value="Thank you for waiting."/>
</crystalReportViewer>
</crystalReports>
</businessObjects>
Do I need to setup anything else?
Sorry, this was a while ago, but I am still needing the answer to this.
Also, and kind of related, We have some reports that are taking a long time to render. In older version of CR (we are updating from 8.5 to 2013), it would only display the first page by default. Now it seems that it displays ALL pages by default. Is there a way to set it so that it only displays the first page?
Thanks
Thanks Dell.
Yes, that does make a considerable difference.
My original question remains however:
Is there a way in CRVS to show a "Please wait" or "Loading" message while the report is loading?
I already have the web.config settings set, but it seems it only uses that when going from one page to another. Not on the initial report load. I need it to display this "Waiting" message on initial load.
For a WEB app the process is done on the WEB server and the workstation is simply waiting for the page to get generated and then sent to the workstation so it really isn't doing anything.
That KBA Ludek posted doesn't work for you? I wonder if your browsers have Popup blocker enabled? Or maybe Compatibility mode???
I have not tried this lately, I'll try to find time to test that KBA also.
Don
Hi David,
They rewrote the viewer to enable AJAX so not sure if this still works but you can update the web.config file with these settings and see if it works for you:
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="processingIndicatorDelay" value="20"/>
</crystalReportViewer>
</crystalReports>
</businessObjects>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="processingIndicatorText" value="Thank you for waiting."/>
</crystalReportViewer>
</crystalReports>
</businessObjects>
Don
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.