We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Link not wokring in excel

I am using below line to create link in excel but down load file is not happening when I click on it

IHyperLink hyperlink = sheet.HyperLinks.Add(sheet.Range[row, col + 1]);

hyperlink.Type = ExcelHyperLinkType.Url;

hyperlink.TextToDisplay = "Link";

hyperlink.Address = dr[columnNames[col]].ToString();


1 Reply

MM Mathu Mohan Vijayakumar Syncfusion Team October 20, 2015 09:51 AM UTC

Hi Mahesh,

Thank you for using Syncfusion products.

We are unable to reproduce the issue in hyperlinks. We suspect that there might be a protocol missing or invalid address has been set in hyperlinks, so that the file can’t be visible while downloading. We have shared a UG documentation link and a simple sample to illustrate this behavior below. Kindly refer to this and let us know if this helps.
UG Documentation Link:
http://help.syncfusion.com/aspnet-classic/xlsio/worksheet-cells-manipulation#adding-hyperlinks


Sample Link:
http://www.syncfusion.com/downloads/support/forum/120822/ze/HyperLink_Sample-231681032.zip

Regards,
Mathu Mohan V A


Loader.
Live Chat Icon For mobile
Up arrow icon