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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Find and Replace in Header

Thread ID:





106666 Jan 21,2013 08:39 AM UTC Jan 23,2013 12:56 PM UTC ASP.NET Web Forms (Classic) 1
Tags: DocIO
Asked On January 21, 2013 08:39 AM UTC

Dear Syncfusion,

I have template and it contains header with text. I want to change the text with data on database. So, I think I can find the text then replace with text from database. I attach the document for the sample. Thank you :)


Kesavan D [Syncfusion]
Replied On January 23, 2013 12:56 PM UTC

Hi Dyana,


Thank you for using Syncfusion products.


On analyzing the template document the text boxes are preserved as autoshapes. Currently DocIO doesn’t support to preserve autoshapes. We have logged a feature request for the same.


As a workaround, We have created a template document by using normal textbox instead of autoshapes and prepared the following sample with following two scenarios,


1)      1) Using Find and Replace the text in the template document is replaced with the text retrieved from database,

2)      2) Using Mail Merge we have attained the same result.


Please find the sample in the attached below.


You may have a look on the following


Sample Name


Find and Replacing Text

Online Sample :    http://asp.syncfusion.com/demos/reporting/docio/Editing/FindAndReplace/CS/FindAndReplace.aspx

UG Documentation : http://help.syncfusion.com/ug/asp.net/docio/default.htm#!documents/455replace.htm


Online Sample : http://asp.syncfusion.com/demos/reporting/docio/Mail%20Merge/LetterFormatting/CS/LetterFormatting.aspx

UG Documentation : http://help.syncfusion.com/ug/asp.net/docio/default.htm#!documents/46mailmerge.htm


Please let us know if you have any questions.






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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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