This is a migrated thread and some comments may be shown as answers.

RadGrid - Fill to pagesize with empty rows

1 Answer 143 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 28 Dec 2010, 09:04 PM
I have a RadGrid with pagesize of 5 that is bound to a datatable. If my datatable only has 6 rows, the second page of the grid resizes to only display 1 row. I don't like the control resizing and would prefer that it alwas shows 5 rows per page (padding blank rows on the last page where necessary). Is this possible?

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 29 Dec 2010, 01:25 PM
Hello Richard,

Set these client settings for your RadGrid:

<ClientSettings>
     <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="200px" />
</ClientSettings>

Maybe you will need to modify the ScrollHeight to match your requirements.

Best wishes,
Vasil
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or