none
ASP.NET ReportViewer controll excel export bad cell background RRS feed

  • Question

  • Hi All!

    I have a problem with the asp.net webforms reportviewer controll. When I export from this control to excel, the xls cells background colors goes wrong. All cells background color inherits the last cell background color.

    The pdf and .doc export working well.

    I'm using this exp. in the .rdlc file for coloring the cells: =IIF(Fields!State.Value = 0, "#FFFFFF", IIF(Fields!State.Value = 1, "#00FF00", IIF(Fields!State.Value = 2, "#FFFF00", IIF(Fields!State.Value = 3, "#FF0000", "#808080"))))

    I hope somebody can help me.

    Bye!

    ps.: Sorry my english.

    Thursday, July 18, 2013 8:14 AM

Answers

  • Hi Erdélyi ,

    You can ask this question in the ASP.NET forum:http://forums.asp.net

    If then,you can get an answer more quickly and professional. Thanks for your cooperation.


    Regards,
    Damon

    Friday, July 19, 2013 6:58 AM