Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CrystalReportViewer display problem on ASP.NET web site

Hello community,

I prepared a small web application do display crystal report documents with CrystalReportViewer (v. 13.0.6.x).

Everything works fine except the presentation of CrystalReportViewer it self. Sometimes I see a big panel on the left side of report and sometimes not.

I checked all the settings but have no idea how to solve this issue. It seems also that this problem occurs for the moment only on internet explorer.

Please check attached screenshots for more information.

Thanks in advance,

Till

ok.png (80450 B)
nok.png (162719 B)
Former Member
Former Member replied

I think I got it. My HTML style regarding position of CrystalReportViewer control seems to affect the presentation of it in the IE. I changed my previous definition and now it seems to work.

Old code:

<table cellspacing="0" cellpadding="0" width="100%" border="0">

                  <tr>

                            <td align="center" style="width: 100%; height: 100%">

                                <CR:CrystalReportViewer ID="CrystalReportViewer" runat="server"

                        ToolPanelView="None" HasDrilldownTabs="False" />

                            </td>

                  </tr>

</table>

New code:

<div style="width: 800px; margin-left: auto; margin-right: auto;">

            <CR:CrystalReportViewer ID="CrystalReportViewer" runat="server" ToolPanelView="None" />

</div>

Thanks all for the help,

Till

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question