When I turn off scrolling ".rgDataDiv" no longer gets emitted, and I lose the ability to set a minimum height. If I have no records I'm OK because I can use the NoRecords template to set an empty table. If I have over a page of rows, I'm good because I turned off scrollbars. BUT, if I only have a few rows, the grid stops after the last row, leaving most of the page blank. Without ".rgDataDiv" I can't set a min height. Any Ideas?
<
telerik:RadGrid
runat
=
"server"
ID
=
"RadGridIncomeOfficeRetailRentRoll"
CellSpacing
=
"0"
GridLines
=
"None"
DataSourceID
=
"ObjectDataSourceRetailIndusOfficeRentRoll"
OnItemCommand
=
"RadGridRentRollROI_ItemCommand"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
PageSize
=
"20"
AllowPaging
=
"true"
AllowFilteringByColumn
=
"false"
AllowMultiRowSelection
=
"false"
HeaderStyle-Font-Bold
=
"true"
CssClass
=
"GridHeightSet"
>
<
ClientSettings
EnableRowHoverStyle
=
"True"
>
<
Scrolling
AllowScroll
=
"False"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"True"
/>
<
Selecting
AllowRowSelect
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
DataSourceID
=
"ObjectDataSourceRetailIndusOfficeRentRoll"
OverrideDataSourceControlSorting
=
"true"
DataKeyNames
=
"TRRD_ID"
CommandItemDisplay
=
"None"
EnableNoRecordsTemplate
=
"True"
>
<
NoRecordsTemplate
>
<
table
width
=
"100%"
border
=
"0"
cellpadding
=
"20"
cellspacing
=
"20"
style
=
"height: 250px;"
>
<
tr
>
<
td
></
td
>
</
tr
>
</
table
>
</
NoRecordsTemplate
>