How to make the DataGrid Fill the whole window in a WebForm

  • Thread starter Thread starter dee
  • Start date Start date
D

dee

Hi
I'm trying to make the DataGrid Fill the whole window in width of a WebForm.
Any help
greatly appreciated.
Dee
 
Thanks that works nicely.
I have another probelm where:
<DIV class="myclass" id="Form1">
<table width="100%">
the 100% causes a horizontal scroll bar to appear. If I change that to a 99%
i lose the symmetry.Is there a way around this?
Thanks again.
Dee
 
If I undestand you correctly, you may want to stick a panel on the form, set
it's width to 100%, then put the grid in the panel and set it's width to 99%
for instance. If that doesn't work let me know.

Cheers,

Bill
 
Bill
Thats kinda what I'm doing. I have a form containing a panel but the panel
holds a table which the grid.
I got it to work with table width=99% and grid width=100%. It's just strange
that 100% creates horizontal scroll bar.
Your earlier solution has basically solved my problen thoough anyway.
Thanks for your help.
Dee
 
Not sure why that is. If it's not doign what you want though, send me the
page, WilliamRyan at Gmail Dot Com and I'll be glad to take a look at
it for you.
 
Back
Top