Question

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.

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top