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

Telerik Report Viewer Height 100% not working

1 Answer 282 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
FISCAL
Top achievements
Rank 1
FISCAL asked on 27 Jul 2011, 10:30 AM
Hi,

I have got a report viewer control in one of the tab. It does not stretch to 100% height. Please remember the page sits inside Master page layout. 

I have follow the link http://www.telerik.com/help/reporting/faq-web-viewer-100-percent-height.html but it does not seem to help. Attachment shows the partial view of the report being rendered with scroll bars at the right hand side.


Following is the code-snippet

<telerik:RadPageView ID="RptView" runat="server" Width="100%" Height="100%">
                            <table style="width: 100%; height: 100%;">
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div id="content" style="width: 100%; height: 100%;">
                                            <telerik:ReportViewer ID="rptViewer" runat="server" Width="100%" Height="100%" Visible="true">
                                            </telerik:ReportViewer>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </telerik:RadPageView>


Many thanks.


1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 27 Jul 2011, 11:43 AM
Hi Milan,

As the help article you've referenced says, in order to have the Web ReportViewer display with 100% height, you need to specify height to the whole DOM tree. You can check the html markup in the article that shows how this is accomplished. We cannot verify if this is indeed the case on your end as you have pasted a partial markup.

If you are unable to accomplish this yourself, please open a support ticket and provide us with your web site so we can make the necessary adjustments.

Regards,
Steve
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
FISCAL
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or