Declined
Last Updated: 24 Jun 2022 11:55 by ADMIN
Tursunkhuja
Created on: 14 Jun 2022 12:21
Type: Feature Request
4
Support HTML link interactivity in WinUI report viewer

We are using Telerik reporting R2.2022 version in our project. Some of our reports have html link (created with tag “a”). If we preview those reports html link doesn’t act as an actual hyperlink, so it’s not clickable. We know that there is a HtmlTextBox limitation not to be interactive in WinUI report viewer. But this is important for us to be able to click on html link on WinUI and we need that functionality.  

I tested WinUI example project (CSharp.WinUIExample.VS2022.sln) and opened SwissQRBill.trdp report. The report has some links to the external source in internet, which is not clickable, but if you open it in Standalone report designer it’s clickable.  

Graphical user interface, text, application, email

Description automatically generated

Is it on your roadmap to implement that feature? 

Thanks,

4 comments
ADMIN
Dimitar
Posted on: 24 Jun 2022 11:55

Hello,

The HtmlTextBox limitation comes from the fact that anchor tags <a> are guaranteed to be interactive (clickable) only under the HTML rendering extension. This behavior is not supported in the XAML rendering which is used in the WinUI and WPF viewers.

With that being said, we will contact our colleagues from the Telerik UI for WinUI team and if we can find an adequate workaround for this limitation, I will update this thread.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Glenn
Posted on: 18 Jun 2022 16:23

This is disappointing that supporting hyperlinks is not considered for HTML text. We understand that you can add hyperlink actions. However, that does not solve the problem when you are displaying an HTML text that the user entered which could have multiple links as our example gave.

We must use the WinUI control because printing is an important part of our software. There is no smooth way to do it with the HTML control. The problem: there are two many steps to print an invoice with the HTML control and web printing. We resorted to exporting a PDF and using a Syncfusion library. However, the quality and performance is not good enough. Thankfully, the WinUI control solves this problem.

However, now the <a> HTML links are not working. 

Unfortunately, it looks like we need to choose between the two. At this point the smoother and faster printing is more important because we have a fast-pace workflow of printing invoices.

Tursunkhuja
Posted on: 17 Jun 2022 16:30

Hi Dimitar,

I am able to use HtmlTextBox with tag "a" and when I preview that report which has hyperlink, it shows text that looks like hyperlink but not clickable. But, as a user I think it should be clickable. This is interesting. 

ADMIN
Dimitar
Posted on: 17 Jun 2022 13:47

Hello Tursunkhuja,

I understand that this would be an important functionality for the HtmlTextBox to have, however, we do not have plans for supporting it in rendering formats besides HTML rendering.

Despite the HtmlTextBox not being able to resolve hyperlinks in the WinUI Report Viewer, hyperlinks are actually supported in the WinUI Report Viewer through the Hyperlink Action.

With that being said, I am changing the status of this request to "Declined".

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.