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

Scrolling in RadGrid

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 06 Jan 2010, 12:03 PM
 Hi ,
I have mentioned the code for scrolling a grid like

<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
   </Scrolling>
 </ClientSettings>

also i have set PageSize=20  and Height = 400Px

But when there is only 1 record there is empty space between 1st record and footer.

So how can we avoid that space when there are less record .

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Jan 2010, 12:14 PM
Hello John,

Please refer to:

http://www.telerik.com/help/aspnet-ajax/grdresizegridwithscrollingwhenlessdata.html

In yoru case I suggest you to stop using RadGrid.Height and use only RadGrid.ClientSettings.Scrolling.ScrollHeight.

http://www.telerik.com/help/aspnet-ajax/height-vs-scrollheight.html

All the best,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or