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

Free Support Forum - aspose.com

Row Background color is lost after converting to Doc

I have html with couple of tables, some tables have rows with background color, after exporting, the background color is lost


i have attached the html and doc

Thanks

Hello<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

As a workaround please try specifying the color of the row for each cell:

<table>

<tr>

<td style="background-color: maroon">

Cell1

</td>

<td style="background-color: maroon">

Cell2

</td>

</tr>

<tr style="background-color: maroon">

<td>

Cell3

</td>

<td>

Cell4

</td>

</tr>

</table>

Best regards,

I can’t set the style to the TDs as this is ASP data grid, and it is rendered like this when i set specific row as selected row

Is there any workaround to fix this issue with code?

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for additional information. Unfortunately, I cannot suggest you any other workarounds at the moment. I will let you know once your issue is resolved.

Best regards,

The issues you have found earlier (filed as WORDSNET-3703) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(3)