Reader Level:
Articles

How to Create a Scrollable DataGrid?

By Mahesh Chand on March 29, 2007
This quick tip shows how to create a scrollable ASP.NET DataGrid.
  • 0
  • 0
  • 12172

Put your ASP.NET DataGrid control within the following <div> tag to make a DataGrid scrollable. You may want to change the height and width according to your requirements.

<div style="vertical-align top; height: 152px; overflow:auto;width:800px;">

</div>

Mahesh Chand

Mahesh Chand is founder of C# Corner. C# Corner founded in 1999 is a FREE member contributions based open platform for developers to solve problems, learn new technology and hang out.  Mahesh has been awar... Read more

COMMENT USING

Trending up