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

mailmerge string with multiple format specifiers

Thread ID:

Created:

Updated:

Platform:

Replies:

140644 Oct 30,2018 12:30 PM UTC Oct 31,2018 09:23 AM UTC ASP.NET Core - EJ 2 1
loading
Tags: DocIO
Thierry Verhaegen
Asked On October 30, 2018 12:30 PM UTC

Hey,

I have a word template which I fill using syncfusion docIO.  I have a group notes, which i populate with a list of Notes.  These notes however can be styled like <b>this</b><u>is</u><i>a</i>quote note.
passing the string to the mailmerge like this produces that exact output and is of course not readable for users.
I have tried to use mergefieldeventhandler but I am only able to boldify (for example) the complete string, and not just 1 word of the string.

What is the best approach to this problem?

Dilli Babu Nandha Gopal [Syncfusion]
Replied On October 31, 2018 09:23 AM UTC

Hi Thierry,

Thank you for contacting Syncfusion support.

We suspect that your requirement is to perform Mail merge with the formatted HTML string which can be achieved with the help of MergeField event and InsertXHTML API. Please find the example project from below and let us know if it helps.
http://www.syncfusion.com/downloads/support/forum/140644/ze/DocIO_CoreApp-895232569.zip
 
 
To know more about mail merge and its events, kindly refer the following documentation link  
 
Regards, 
Dilli babu.

 


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.

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

;