Csharp
Csharp

Reputation: 177

Hyperlink not working in RDLC Report text Box Property's Action :Go to URL

I have Visual Studio 2013 with update 4.And I am trying to get URL for particular Text Box in the Browser.It is very easy to set up hyperlink for text box in RDLC report.It is the Microsoft post as below.

https://msdn.microsoft.com/en-us/library/ms157159.aspx

I applied 6 steps as mentioned in above link,but Still i can't get hyperlink in RDLC report for particular Text Box.I also added EnableHyperlinks="true" in aspx and aspx.cs page too.Thanks in advance.

Upvotes: 2

Views: 7869

Answers (1)

Disha
Disha

Reputation: 392

Try as below in aspx.cs, it works for me

   ReportViewer1.LocalReport.EnableHyperlinks = True;

If it doesn't work, varify it doesn't create relative path issues. Try using System.AppDomain.CurrentDomain.BaseDirectory to create the absolute URL to required URL.

Even if it does not work, please share any error you are getting in report.

Upvotes: 10

Related Questions