Quantcast
Viewing all articles
Browse latest Browse all 3636

Changing CrystalViewer ID causes 'Next Page' to not work

Development environment: Windows 8, Visual Studio 2013, ASP.Net web development environment, 64bit machine. CR 13_0_10 installed.

Also, deploying to a test environment of Windows Server Web edition (c) 2007 SP1 32 bit

Problem occurs in development and test environment.


First of all I guess we need to clarify that what we are trying to do is valid;


We are displaying a few CR's in our website using schemas for the data source and passing associated XMLs at runtime to the CR.

We want to rename the Crystal Report that is downloaded to a users machine if they click the 'Export' button, so that every report is not called CrystalViewer1 (the ID of the CR control).

We have just started trying this by renaming the ID of the Crystal Viewer to whatever we want.

What happens is that the Crystal Viewer comes up and displays the first page, but on going to the next page we have the following error occur and the page looks like it's hanging, with the Crystal progress circle animation.

 

Taking out the code that renames the ID stops the error from happening.

 

Example code that breaks it:

CrystalReportViewer1.ID = "JiminyCricket"

Have also tried setting the SummaryInfo.ReportTitle of the ReportClass, but to no avail.

 

Is what we are doing valid? And if not, how else should we be doing it?

 

Many thanks for your time,

 

Julian Tucker


Viewing all articles
Browse latest Browse all 3636

Trending Articles