I'm transitioning from using Microsoft's GridView to using Telerik's RadGrid. With the former, to achieve vertical scrolling I just had a parent DIV with the correct properties set to achieve it. The approach worked fine except that the header also scrolled, which I didn't like.
So now I'm trying to use the supposedly simpler, "automated" functionality that RadGrid offers but am running into countless problems. Here's some sample layout code:
Note the last 3 properties of "ClientSettings" to turn on the vertical scrolling. In a separate posting I pointed out that this messed up the horizontal alignment of the grid items in relation to the text in the header. I'm still awaiting a solution to that.
Now I've discovered that when the available space of the grid isn't fully populated that an ugly white space appears. This is clearly unacceptable. How do I get rid of or hide that white space?
Robert
So now I'm trying to use the supposedly simpler, "automated" functionality that RadGrid offers but am running into countless problems. Here's some sample layout code:
<telerik:RadGrid ID="radGridSummary" runat="server" AutoGenerateColumns="false" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1" Width="587px" CellPadding="0" GridLines="Both" Font-Size="11px" OnItemDataBound="radGridSummary_ItemDataBound" OnItemCommand="radGridSummary_ItemCommand"> <HeaderStyle Font-Bold="true" ForeColor="#031d5b" VerticalAlign="Middle" Height="20" CssClass="pointerOnly headerGridRB" /> <ItemStyle CssClass="radGridItem" /> <AlternatingItemStyle CssClass="radGridAltItem" /> <ClientSettings EnablePostBackOnRowClick="true" EnableRowHoverStyle="true" Scrolling-UseStaticHeaders="true" Scrolling-AllowScroll="true" Scrolling-ScrollHeight="200px" />Now I've discovered that when the available space of the grid isn't fully populated that an ugly white space appears. This is clearly unacceptable. How do I get rid of or hide that white space?
Robert