Reader Level:
Articles

How to Create a Scrollable DataGrid?

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

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

Founder C# Corner, a member-contributions based community founded in 1999 focuses on character, values, learning, sharing, networking and career growth. Mahesh has been awarded prestigious... Read more

COMMENT USING

Trending up