Free Support Forum -

Render HTML content to Word dynamically

We are presently using DocX component in one of our web application( 4.0 with C#) to generate word reports. We have dynamic data, we want to generate html table in word report dynamically. When we are trying to render the data, the html tags of table, td , tr are getting printed into word document. Does this component render html content to word dynamically.



To render HTML in Word document, you need to use DocumentBuilder.InsertHtml method. Please refer to the following section of documentation.
How to Insert Check Boxes or HTML during Mail Merge

Thanks for your suggestion.