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

When paging the grid height will not reduce in size if only a few lines are dispayed.

1 Answer 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 06 Dec 2011, 11:55 PM
In your example of the grid paging, if it only displays a few lines the grid height will shrink in so the controls below it will more up filling the space. my question is in your example you use your script manager not the default asp script manage that i need for some of the other controls on the form. Do I HAVE to use your script manager to make the grid work properly.
Also the "Page size" combo box does not display correctly as well, the box is not shown but you a select it a it does drop down with the dropdown in transparent state.
Is there a way to have the paging controls FIX to the bottom and the scroll bar will not over lay it?

Thank John

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 09 Dec 2011, 01:45 PM
Hello John,

Yes, you can use asp:ScriptManager instead of telerik:RadScriptManager and RadGrid control will still work properly. Additionally, to reduce the size of the grid when the data does not fill the content area when scrolling is enabled, you can use the approach presented in the help article below:
http://www.telerik.com/help/aspnet-ajax/grid-resize-grid-with-scrolling-when-less-data.html

Regarding the problem with PageSize combo I suppose that you are using custom skin for the RadGrid control. If this is the case, note that you should register a custom skin for the RadComboBox as well. The skin name must be the same as the RadGrid skin's name.

I hope this information helps.

All the best,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or