This is a migrated thread and some comments may be shown as answers.

Hyperlinks in ReportViewer

3 Answers 361 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael Hilgers
Top achievements
Rank 1
Michael Hilgers asked on 02 Jul 2012, 07:05 AM
Good Morning everyone,

i've the following problem. I have a report with hyperlinks assigned to a TextBox. Doing this with the following code in the Detail section:

Telerik.Reporting.NavigateToUrlAction url = new Telerik.Reporting.NavigateToUrlAction();
url.Url = "http://www.telerik.com";
this.textBoxBBlockNo.Action = url;

Working in the Telerik Visual Studio Report Designer i get my hyperlinks when i swtich to the preview tab. When i preview the report in the ReportViewer (WinForms), the hyperlinks are not there.

Any one else experiencing the same behaviour? i'm working on the latest version of Telerik Reporting (Telerik_Reporting_Q2_2012_v6_1_12_611_Dev).

Greetings,
Michael

3 Answers, 1 is accepted

Sort by
0
Michael Hilgers
Top achievements
Rank 1
answered on 02 Jul 2012, 12:43 PM
Okay, it seems that i've discovered the problem:

In the report viewer (WinForms) the link works if the report viewer is in "interactive layout". If it is switched to "print preview", the links are not present any more. This behaviour has changed between 2012Q1 (worked) and 2012Q2 (not working any more).

So, why has this been changed? I need the links in the "print preview" mode ...

Greetings,
Michael
0
Michael Hilgers
Top achievements
Rank 1
answered on 02 Jul 2012, 12:48 PM
What i forgot to mention:

I'm exporting my reports to pdf. The links are also missing in the created pdf files.
0
Steve
Telerik team
answered on 03 Jul 2012, 11:16 AM
Hello Michael,

The behavior you observe in the report viewers/previews is by design i.e. only the Interactive view would contain actions and the Print Preview would only give you a glance how the report would look when printed. In Q1 this worked unintentionally.

The non-working hyperlinks in PDF is a known bug that slipped into Q2 and we would fix it for subsequent internal build.

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Michael Hilgers
Top achievements
Rank 1
Answers by
Michael Hilgers
Top achievements
Rank 1
Steve
Telerik team
Share this question
or