Gridview question

  • Thread starter Thread starter Bonzol
  • Start date Start date
B

Bonzol

I have been using gridviews,

but when the data gets to much it makes the gridview exceed the size of
my webpage, is there anyway to stop this? or any methods to make it go
to a new line, or make it have a scroll down bar or something.?

Thanx in advance
 
Place the following code around your gridview conrol:

<table><tr><td>
<div style="height:[maxheight of your gridview]px overflow:auto;">

<your gridview>

</div>
</td></tr></table>
 
Place the following code around your gridview conrol:

<table><tr><td>
<div style="height:[maxheight of your gridview]px; overflow:auto;">

<your gridview>

</div>
</td></tr></table>
 
Back
Top