Toolbar & Grid on same page = > Scrollbar in FF / No Grid in

Hi !

I’ve a very simple setup in an aspx.net page.

On the top of the page there should be a toolbar and the remaining space below should be filled by a grid.

I am not able to get it running that the grid uses the remaining space on the page.

In FF it shows scrollbars (the page, not the grid), in IE the grid doesn’t show any content.

The only way to get it running almostly was using HTML tables.

So I would like to ask what the suggest way is for a scenarion (which is mostly common!) would be.

This is my code:



<%@ Page Language=“C#” AutoEventWireup=“true” CodeFile=“eFormTable.aspx.cs” Inherits=“eFormTable” %>











eForms



html, body {height:100%; margin:0; padding:0; }








































Hello,


please, check that grid container has desired height and width.

Hi,

thanks for your fast reply.

>"please, check that grid container has desired height and width."


I am doing by:

style="width:100%; height:100%;

Or is there any other way to do so ?

Rgds
Fi


Both grid and toolbar occupy their containers. So, please check that containers have correct sizes and positions.


mygrid_container container has incorrect sizes even the grid isn’t initialized.

Hi,

I’ve tried around a lot of things but I can’t figure out how to do it right.

Could you please give me a sample that shows how to set the container height the right way ?
I am quite lost on this one, I’ve spend several hours already.
(I can send you all versions I created, just drop me a message.)

All I need is a toolbar at the top and a grid that fills the remaining area of the screen without having a global scrollbar.
A scrollbar in the grid should be there.

Kind regards

Fi


Hello,


you can use dhtmlxlayout. It is possible to attach grid and toolbar to it. Please, check the samples:


dhtmlx.com/docs/products/dht … _grid.html