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

Setting reportviewer's height to %100 in while its inside a masterpage

1 Answer 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
KocSistem
Top achievements
Rank 1
KocSistem asked on 10 Sep 2012, 09:45 PM
Hi,
I have searched here for samples for setting the reportviewer's height to %100.
All of the answers and samples  i have found are about reportviewer is added to a single web page. Which is not inside a master page.

Could you provide a sample code to set the reportviewer's height to %100 when the web project has a master page and reportviewer is inside a contentplaceholder.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 14 Sep 2012, 12:29 PM
Hello,

It is all the same except that you have set the heights in two pages instead of one. First you have to set the heights of all elements that appear parents of the <asp:ContentPlaceHolder ID="MainContent" runat="server"/> tag in the Site.Master page and then in the content page you have to set the heights of all parent elements of the viewer itself.

Greetings,
Chavdar
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

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