Home All Groups Group Topic Archive Search About
Author
17 Sep 2006 2:27 AM
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

Author
17 Sep 2006 10:22 AM
Theo Verweij
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>


Bonzol wrote:
Show quoteHide quote
> 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
>
Author
17 Sep 2006 10:30 AM
Theo Verweij
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>

Bonzol wrote:
Show quoteHide quote
> 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
>