We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cell Background is lost after inserting HTML into document using C#

Hi,

i am facing a issue in report generated in word format. Actually i am rendering some HTML text in word document but it is not displaying correctly when report got generated in Word. the Html Text is appearing correctly if we see the html in browser and if i generate the same content in Aspose 9.0.0.0 it is appearing correctly in report.

I am facing issue in Aspose Version 10.7.0.0. please find the below HTML which is used, also please find the attached report generated from old and new Aspose dll. Kindly Assist.

<Table border=1 width="100%" align=Left cellspacing="0" cellpadding=4>

<tr bgcolor=Silver>

<td width="50%" bgcolor=Silver><B>Abc Test</B></td>

<td><B>Test Group</B></td>

</tr>

<tr>

<td width="50%">Cell 1</td>

<td>Cell 2</td>

</tr>

</Table>

<BR>

Thanks in Advance.

Jitender

Hi,

Thanks for your inquiry. While using latest version of Aspose.Words v.10.8, i could not reproduce this issue. i will suggest you to use latest version of Aspose.Words.

Please follow up the link to download latest version.
https://downloads.aspose.com/words/net

In case of any ambiguity, please let me know.