Unable to SetValue to CellExporter with Hyperlink

1 Answer 58 Views
SpreadProcessing SpreadStreamProcessing
Samuel
Top achievements
Rank 1
Samuel asked on 08 Mar 2023, 03:43 PM

Hello All, 
I am using Telerik.Documents.SpreadsheetStreaming assembly with Version 2020.3.1019.20. I just need how to assign text having hyperlink to ICellExporter object here. Please suggest me if there is any wrong here.

string policy = "<a href=\"https://www.termsfeed.com/blog/sample-terms-and-conditions-template/\">Policy Terms</a>";
string showText = "For necessary info, Please refer " + policy;
//rowExporter -> IRowExporter object here
using var cellExporter = rowExporter.CreateCellExporter();
cellExporter.SetValue(showText);

Thanks

Sam

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 10 Mar 2023, 08:54 AM

Hello Samuel,

This is not supported and such HTML will be parsed as text. The hyperlinks need a separate XML element that is not currently supported. We have a feature request for this. You can track its progress, subscribe to status changes, and add your comment here:  SpreadStreamProcessing: Add support for hyperlinks export.

I am afraid I cannot suggest a workaround for this. 

I want to apologize for the inconvenience this missing functionality is causing you.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
SpreadProcessing SpreadStreamProcessing
Asked by
Samuel
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or