SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
ASP.NET, VB.NET, Microsoft .NET Framework, Microsoft Visual Studio, Windows Forms, Controls and more Tutorials and Articles for Programmers


Report 'report name' contains hyperlinks. The EnableHyperlinks property has not been set for this report


I was recently working on an ASP.NET web site which has a ReportViewer control on one of its pages. I was developing the web site using VS2008 RAD tool.
While working on the ReportViewer control and on one of the local reports (.rdlc reports or local reporting services reports), I got the following warning message:

"Report 'report name' contains hyperlinks. The EnableHyperlinks property has not been set for this report"

This is an annoying error message, since at first look it is not able to find the EnableHyperlinks property of the ReportViewer control.
The reason is ReportViewer control does not have such EnableHyperlinks property which can be set to True or False.
But its LocalReport property has EnableHyperlinks property. And if you set it to True, hyperlinks within the local report will be displayed and will work successfully on the report viewer control on aspx page.
It is interesting that the ServerReport does not have such EnableHyperlinks property.

To set or enable EnableHyperlinks property of a local report which will be displayed using a ReportViewer control, open the Properties screen for report viewer control. Then drill down the LocalReport property which is a member of Misc group tab container. And select True for EnableHyperlinks for the LocalReport.

EnableHyperlinks property



Visual Studio


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.