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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top