top margin of half a page in crystal viewer VS2005 using vb.net for asp.net

Hi,

 

I'm trying to show a report on my webpage. In the development enviroment the report is shown on the top of the page. When I publish teh website to the server the top margin is at least half a page high. Allthough I've tried to set the top to 0px.

I did this with and without a DIV on the page:

<div style="z-index: 100; left: 0px; width: 100%; position: absolute; top: 0px; height: auto">

<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True"

Width="100%" Height="100%" BestFitPage="true" ReportSourceID="CrystalReportSource1" style="z-index: 658; left: 0px; position: absolute; top: 0px" />

<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">

<Report FileName="CrystalReport.rpt">

</Report>

</CR:CrystalReportSource>

</div>

please help

 

1
tonvanr
5/4/2009 6:24:31 PM
asp.net.crystal-reports 7043 articles. 0 followers. Follow

0 Replies
722 Views

Similar Articles

[PageSpeed] 56

Reply: