Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Scroll bars in datagrids

  Asked By: Annie    Date: Jun 08    Category: Asp.net    Views: 1055

Is there a property to include scroll bars in a datagrid and specify the width and height for the datagrid? If so, what are the settings.



1 Answer Found

Answer #1    Answered By: Yvette Griffin     Answered On: Jun 08

No. DataGrid converts itself into Table HTML element with CSS. To put it inside a scrolling area you should put your DataGrid either:
- inside a different ASPX file and loading it into an IFRAME inside existing ASPX
- create a scrollable DIV with all client side functionality (javascript) for scrolling its content - this way you have control not just over the content and size of the container, but also the complete design and functionality of the scrollbar...

Didn't find what you were looking for? Find more on Scroll bars in datagrids Or get search suggestion and latest updates.