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

Grid wont fill RadPane on anything except IE!

4 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul Buxton
Top achievements
Rank 1
Paul Buxton asked on 13 Oct 2008, 01:21 PM
Hi,

I'm probably missing something simple, but anyway.

I have a screen layout based on the Splitter 100% demo.

In the main content pane, I have a RadGrid.  Thie grid is defined as style="height:100%;width:100%"

On IE the grid fills the pane, but on any other browser it doesn't.  I've tried the height and width properties of the Grid, and the MasterTableView, but they don't seem to influence it.

I'm sure I'm missing something really simple!!

4 Answers, 1 is accepted

Sort by
0
Paul Buxton
Top achievements
Rank 1
answered on 13 Oct 2008, 02:32 PM
#RadGrid1Panel  
{  
    height: 100%;  
}  

The above seemed to do the trick!
0
Antony
Top achievements
Rank 1
answered on 14 Jan 2009, 05:05 PM
I'm having the same problem and that solution didn't work for me. This did though

<script type="text/javascript"> 
    //<![CDATA[ 
   
    var TVWrapper = document.getElementById("ctl00_body_ctl00_body_RadGrid1Panel"); 
    if(TVWrapper) 
        TVWrapper.style["height"] = "100%"; 
    //]]> 
    </script>

But it is definitely not a solution, just a hack. Can anyone help?
0
Dimo
Telerik team
answered on 14 Jan 2009, 05:08 PM
Hi Antony,

You need

http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-set-100-height-and-random-styles-to-a-radajaxmanager-update-panel.aspx

All the best,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Antony
Top achievements
Rank 1
answered on 14 Jan 2009, 05:27 PM
Amazing! Thanks
Tags
Grid
Asked by
Paul Buxton
Top achievements
Rank 1
Answers by
Paul Buxton
Top achievements
Rank 1
Antony
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or