Render as HTML report data and footer overlapping

  • Hi all, SQL 2012 R2, ReportService2010 and render as HTML

    I have a report that has a footer that contains some text and an image. It is displayed on every page. When I run this report through the web forms ReportViewer control then the web page report renders the data and footer on every page fine.

    If I make a SOAP request to render the report as HTML4.0, when I display the report the page data and footer overlap. I expected them to be the same HTML.

    What I have noticed is that the report rendered via the ReportViewer control generates HTML as follows;

    <table cellspacing="0" cellpadding="0" lang="en-US" style="">

    <tbody>

    <tr>

    <td style="WIDTH:40.26mm;min-width: 38.85mm;HEIGHT:4.59mm;" class="A84816c7af65049a3b9e8e007016fa3b438l">

    <div style="WIDTH:38.85mm;">Performance Report </div>

    </td>

    </tr>

    </tbody>

    </table>

    Notice the DIV wrapping the text

    When rendered via a SOAP request the equivalent HTML looks like this

    <table cellspacing="0" cellpadding="0" lang="en-US" style="">

    <tbody>

    <tr>

    <td style="WIDTH:40.26mm;min-width: 40.26mm;HEIGHT:6.00mm;" class="a38l">Performance Report </td>

    </tr>

    </tbody>

    </table>

    Notice the LACK of a DIV wrapping the text.

    There are class names generated for the report viewer as well that do not appear the SOAP rendered HTML. Anybody any idea what i shappening here?

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply