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.
Syncfusion Feedback

Search and Replace not working in tables

Thread ID:

Created:

Updated:

Platform:

Replies:

51317 Nov 2,2006 06:31 PM UTC Nov 3,2006 01:12 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Roger Osborn
Asked On November 2, 2006 06:31 PM UTC

I am trying to do a very simple search and replace. Here's the code:

WordDocument document = new WordDocument();
document.Open("test.doc", FormatType.Doc);
document.Replace("$A$", "B", true, true);
document.Save("TestOutput.doc", FormatType.Doc, Response, HttpContentDisposition.InBrowser);

If the $A$ element is not inside a table, it works. If inside a table, the output is always blank ($A$ is replaced with "").

Dhivya K [Syncfusion]
Replied On November 3, 2006 01:12 PM UTC

Hi Roger,

Thank you for your interest in Essential DocIO.I tried testing this issue.I am afraid. I am unable to reproduce the issue.
Here is a sample for your reference.
FindAndReplace.zip


Please take a look into it and let me know if you have any queries.

Can you please provide me a sample or modify this so that I can reproduce the issue.This will help me investigating further on this issue.

Regards,
Dhivya.

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.

Warning Icon 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.Close Icon

;