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

HTMLTextBox Hyperlink not working

3 Answers 267 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 19 Jun 2013, 08:30 PM
Hi,

I have put an HTMLTextBox on a report and inserted a hyperlink into it as follows:
 <a href="Visit'>http://www.w3schools.com/">Visit W3Schools</a>.

When I "Preview" the report the hyperlink works fine but when I switch to "Html Preview" the link just displays as blue underlined text and is not an active link. Also, the link doesn't work at all when I use the reportViewer control in a asp.net webforms web page.

I have tried this in VS2008 and VS2012 . I have also used .Net 3.5 and 4.0 . The Reporting version is Q1 2013 SP1

Is this an issue or am I just doing something wrong?

Thanks
Dan Rizzo

3 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 24 Jun 2013, 01:39 PM
Hello Dan,

The HTML Preview window runs as it would in IE7, that's why it is very unlikely to fail to render the HTML Textbox content properly. We've noticed that the <a> tag you pasted contains invalid characters, although it would result in an invalid URL, not in invalid hyperlink behavior. Please keep in mind that hyperlinks work only in HTML rendering extension, as stated in the documentation.

Please try to run it in compatible mode or change the browser mode through "Developer Tools" if you are using Internet Explorer.

As a workaround we can suggest to use the Action property and set the Navigate to Url action to desired web address.

For now we are unable to reproduce this behavior locally and we will appreciate if you elaborate further and send us an example report in order to reproduce the unexpected behavior you have experienced. Once we review it locally we will be able to advise you further.

Regards,
Ivan Hristov
Telerik

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Dan
Top achievements
Rank 1
answered on 24 Jun 2013, 09:21 PM
Thanks Ivan - I just submitted a support ticket with a simple Visual Studio Solution illustrating the problem I have

Dan
0
Stef
Telerik team
answered on 27 Jun 2013, 01:02 PM
Hello,

For anyone concerned. The HtmlTextBox item supports anchor tags and their href and target attributes. This HTML rendering behavior is applied in Telerik Reporting Q2 2013 release.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

Tags
General Discussions
Asked by
Dan
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Dan
Top achievements
Rank 1
Stef
Telerik team
Share this question
or