This is a migrated thread and some comments may be shown as answers.

Reports overlapping bottom of viewer in IE7?

3 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Barret
Top achievements
Rank 1
Barret asked on 30 Sep 2008, 07:48 PM
Hello:

It seems that my report is overlapping the bottom of the report viewer in IE7 but not in Firefox.  From what it looks like, when the vertical scrollbar is visible, the amount of overlap is equal to the combined height of the "up" and "down" arrows on the scrollbar.  I cannot figure out if I am doing something wrong.  Could someone please help me?

ASPX:
<div id="divReports" runat="server" style="width:100%;"
        <div style="height:500px;"
            <telerik:ReportViewer ID="rptViewer" runat="server"  
                Width="100%"  
                Height="100%" 
                BorderColor="Silver" BorderWidth="1px" BorderStyle="Solid"
            </telerik:ReportViewer> 
        </div> 
</div> 

Screenshots:
IE7 (overlapping web viewer)
Firefox (working as expected)

Thanks for your input,
Barret

3 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 02 Oct 2008, 01:39 PM
Hi Barret,

The problem comes from the DOCTYPE element of the page which when specified tells the browser to treat the percentage height of the viewer differently. At this moment the only workaround is to remove the DOCTYPE of the web page.

Best wishes,
Chavdar
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Barret
Top achievements
Rank 1
answered on 20 Oct 2008, 08:32 PM
Thanks Chavdar, but this solution will not fit my needs.  If I remove the DOCTYPE from my page, it breaks other Telerik controls, most obvious being the combobox.

For the time being, I wrapped the report viewer in a table (ugh), and set a border on that instead.

Is this something we can expect to be fixed in the Q3 release?

Thanks for your help!

Barret
0
Steve
Telerik team
answered on 21 Oct 2008, 08:41 AM
Hello Barret,

The problem is related to how IE 7 interprets the doctype and not an issue with the web ReportViewer. For the time being you can either use a table or set a doctype that would render the ReportViewer as expected e.g.:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

We've tested our combobox control with this doctype and did not notice any problems. If you experience issues, please send us your aspx page, so that we can advise you accordingly.

Best wishes,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Barret
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Barret
Top achievements
Rank 1
Steve
Telerik team
Share this question
or