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

Find and Replace in Header

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 :)


Doc1_13b5ff06.rar

1 Reply

KD Kesavan D Syncfusion Team 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

Links

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

MailMerge

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.

 

Regards,

Kesavan



Sample_3df3da6c.zip

Loader.
Live Chat Icon For mobile
Up arrow icon