Vra

I have a client side report that is displayed in a report viewer within a webform. The report displays perfectly until I create a hyperlink within a textbox. However, when I try to render the report, it crashes with the following error:

An error occurred during local report processing.

Nothing fancy is done with the link. The link is static, not altered by any code, and points to an external site.

Was dit nuttig?

Oplossing

Apparently, there is an option EnableHyperlinks on the LocalReport object that I couldn't find in the designer, but is accessible during runtime:

reportViewer.LocalReport.EnableHyperlinks = true;

Once I included this single line the report stopped crashing and the link worked.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top