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

How to add href (Anchor http link) compatible with PDF format?

10 Answers 238 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sebastian Talamoni
Top achievements
Rank 1
Sebastian Talamoni asked on 10 Apr 2008, 06:35 PM
Hi,
I am new to Telerik Reporting so sorry for this basic question. I've tried to search the forums and could not find an answer.

In our reports we need to show http links to different URL ( as actions, to download a file, etc).

Unfortunatelly, I could only make it work on the HTML preview (by using Textbox.Value = <a href > tag, but then using PDF it's not compatible and show the html tag text directly.

How can I achieve a simple http link in PDF format?
If this is not supported directly is there any workaround?

10 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 11 Apr 2008, 07:20 AM
Hi Sebastian,

To our greatest regret Telerik Reporting still does not support HTML text in the TextBox item (except when the report in  rendered  in HTML and previewed in a web browser). I am afraid but there is no workaround for this limitation at this time. We will have to implement HTML rendering for all export formats (Image/PDF/RTF/Excel) in order for this to happen.

We are sorry for not being of much help at this time.

 
Sincerely yours,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sebastian Talamoni
Top achievements
Rank 1
answered on 11 Apr 2008, 07:57 AM
Wow.

Is it possible to write a special "Textbox" custom control which will do the special PDF rendering trick?
What I means, is that maybe the product has the extensibility to allow users to have their own "custom control" that can be used inside the reporting.

For example: You have created the "graph" control which interacts with the Charting control.

Important Note: In my reporting scenario I neither I need all export formats nor I  need all HTML support. I only need <a HREF> support so a custom control which covers that case will do it for me.

Conclusion Question  :Can I write a custom controls which can be used /  added to "Telerik Reporting" control toolbox?


0
Svetoslav
Telerik team
answered on 14 Apr 2008, 07:41 AM
Hello Sebastian Talamoni,

I do understand how important is to have links when exporting a report in PDF but I am afraid that it is not possible at the moment. The problem is not actually of the report items itself but in the rendering engines and even more - in the document writing engines.

Regarding the custom report items it is possible to subclass any of the existing report items and tweak its behavior as you wish.

I hope this information helps.

Greetings,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sebastian Talamoni
Top achievements
Rank 1
answered on 14 Apr 2008, 08:06 AM
Ok, thanks for the information.

I will try to live without this feature .

If the customer really wants it I will need to "go ahead" with the idea of a custom report item. Are there already any examples for subclassing custom report items?
Example: subclassing the textbox and change something in the rendering..

0
Accepted
Svetoslav
Telerik team
answered on 16 Apr 2008, 07:56 AM
Hello Sebastian Talamoni,

You can subclass any report item but I am afraid that you cannot modify the rendering of the report items. The report items you actually work with are the report definition items and the actual rendering is handled in other modules called rendering extensions. For more information please see Report Life Cycle. We have plans to make the whole system much more flexible and allow extending the reporting engine but to my greatest regret we are still working on the interfaces between the different parts of the engine. As soon as we make it final it will be published in the Roadmap.

Best wishes,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sebastian Talamoni
Top achievements
Rank 1
answered on 16 Apr 2008, 08:09 AM
Ok, thanks. You save me the time of trying it.

I will be looking forward for this new feature/capability.

Thanks in advance.


0
Jeffery Gray
Top achievements
Rank 1
answered on 22 Feb 2010, 08:35 PM
Hi, was this issue address in the Q3 2009 release?
I have generated a report that uses the html textbox control to display the link, which works fine in
the viewer control(both windows and web) but doesn't appear to carry over when I do the export to pdf.


Thanks
0
Steve
Telerik team
answered on 23 Feb 2010, 08:33 AM
Hello Jeffery,

As explained in the HtmlTextBox article, the hyperLink is interactive (acts as actual hyperlink) under HTML rendering extension only for the time being. We had this request from other clients as well and would investigate if it is feasible to implement this for subsequent version.

All the best,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Alan
Top achievements
Rank 1
answered on 05 Dec 2013, 12:09 AM
With the new version, is there a way to add href to the PDF format 
0
KS
Top achievements
Rank 1
answered on 09 Dec 2013, 12:17 PM
Hi,

Use NavigateToURL action. When you click the link in the PDF you will be prompted you are trying to navigate outside the document.

-KS
Tags
General Discussions
Asked by
Sebastian Talamoni
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Sebastian Talamoni
Top achievements
Rank 1
Jeffery Gray
Top achievements
Rank 1
Steve
Telerik team
Alan
Top achievements
Rank 1
KS
Top achievements
Rank 1
Share this question
or