Hyperlink Not working

1 Answer 68 Views
SpreadProcessing
Satish
Top achievements
Rank 1
Satish asked on 07 Mar 2023, 09:06 PM

Hello,

I have below code block to add Hyperlink(IWorksheetExporter) in cell text. But it's not working in the exported file. Please help me to resolve this. 

using var worksheetExporter = workBookExporter.CreateWorksheetExporter("Terms");
            using (var rowExporter = worksheetExporter.CreateRowExporter())
            {
                string conditions = "<a href=http://telerik.com> Terms&Conditions</a>";
                string desc = "Further info, refer " + conditions;
                using var cellExporter = rowExporter.CreateCellExporter();
                cellExporter.SetValue(desc);
            }

Thanks,

Satish 

1 Answer, 1 is accepted

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

Hello Satish,


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

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

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