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

Setting Height of reportViewer with radToolBar on top of the page

2 Answers 102 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
guillaume.lebel asked on 21 Jan 2010, 08:46 PM
Hi,

I know there's alot of post about setting the height of the reportviewer in a page. But i'm still having a problem.

First thing all my report are showing in a radwindow with a radtoolbar on top of it.
I've set all the parent of my reportviewer with height 100%. But there's still an overflow at bottom of the window that is the exact same height of the toolbar container.

Here is my code

<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
        <div id="TitleSection">  
            <fortress:PopupWindowToolbar ID="PopupWindowToolbar1" runat="server"></fortress:PopupWindowToolbar> 
        </div> 
        <div id="PageSection">  
            <div id="ContentSection">  
                <div id="ContentSectionContainer">  
                    <asp:ContentPlaceHolder ID="ContentPlaceHolderPopup" runat="server" > 
                    </asp:ContentPlaceHolder> 
                </div> 
            </div> 
        </div> 
    </form> 
</body> 
and my css :
html, body, form  
{  
    height:100%;  
}  
html  
{  
overflow:hidden;  
}  
 
#TitleSection  
{  
    positionstatic;  
    top:0px;  
    width:100%;  
    text-alignleft;  
    vertical-alignmiddle;  
    background#b6cef1 url(Header/GradiantEntete.png) repeat-x scroll bottombottom left;  
}  
 
#ContentSection  
{     
    position:relative;  
    top:0px;  
    left:0px;  
    width:100%;  
    height:100%;  
}  
 
.FortressReportViewer  
{  
    position:absolute;  
    top:0px;  
    left:0px;  
    rightright:0px;  
    bottombottom:0px;  
    height:100% !important;  
    width:100% !important;  
      
}  
 

FortressReportViewer is the class i applied directly on my reportviewer.
I've also tried switching doctype but it doesn't change any thing saddly. My reportviewer is still going below my radwindow borders.

Thx for your help,
Guillaume

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Jan 2010, 05:02 PM
Hi guillaume,

You have not sent the most important thing - the page with the report viewer markup. It would be best if you open a support ticket and send us a sample runnable project that replicates the problem, so that we can get to the bottom of it.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Marius
Top achievements
Rank 1
answered on 01 Mar 2010, 02:51 PM
Guillaume,

Did you ever find a solution to this as I am experiencing the same thing.

Thank you.
Tags
General Discussions
Asked by
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
Answers by
Steve
Telerik team
Marius
Top achievements
Rank 1
Share this question
or