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.
Unfortunately, activation email could not send to your email. Please try again.

Adding hyperlink in a table

Thread ID:

Created:

Updated:

Platform:

Replies:

99378 May 17,2011 09:46 AM May 19,2011 11:02 PM ASP.NET Web Forms (Classic) 5
loading
Tags: DocIO
Namita Jain
Asked On May 17, 2011 09:46 AM

Hi
I am trying to create a Hyperlink in a table cell using the example provided in the samples.
But i get an xml error when i try to open the document created with the below code.

IWParagraph para = footerTbl[0, 0].AddParagraph(); //footertbl is a table
para.ApplyStyle(BuiltinStyle.Hyperlink);
IWField email = para.AppendField("ABC",
FieldType.FieldHyperlink);

Hyperlink emailLink = new Hyperlink(email as WField);
emailLink.Type = HyperlinkType.EMailLink;
emailLink.Uri = "mailto:abc.def@gmail.com";

Thanks
-Namita


Namita Jain
Replied On May 17, 2011 10:33 AM

I tried the recover option and Word opened the file after making repiars and I got the attached message.

Clicking on close, i do see the email in blue and underlined, but not clickable.

Thanks
-Namita



Worderror_5b08149.zip

Poornima R [Syncfusion]
Replied On May 19, 2011 01:00 AM

Hi Namita,

Thank you for your interest in Syncfusion Products.

We are not able to reproduce the mentioned error when using our latest version 9.2.0.137. We have prepared the simple sample for your requirement. Please find the sample from the below link.

Sample:
Sample1823738062.zip

Please try running the above sample and let us know whether the issue is reproduced. If the issue in reproduced please provide us with the version of dll you are using. If the issue in not reproduced please modify the sample to reproduce the mentioned issue along with the version of dll you are using.

Please let us know if you have any questions.

Regards,
Poornima






Namita Jain
Replied On May 19, 2011 08:51 AM

Hi

Thanks for the sample.
But i see the same error when i downloaded the sample and tried to run on my local system. I am using version 7.303.0.22 of Syncfusion.

Thanks
-Namita


Namita Jain
Replied On May 19, 2011 10:27 AM

Hi

I guess the issue was with the Syncfusion version 7.3.0.22. I upgraded to 9.1.0.20 and that resolved my hyperlink issue.

Thanks
-Namita


Poornima R [Syncfusion]
Replied On May 19, 2011 11:02 PM

Hi Namita,

Thank you for your update.

Please let us know if you have any other questions.

Regards,
Poornima


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;