I am using RadGrid, and I have set all the relevant properties in order to enable scrolling, still it is rendering properly in IE 7 and grid comes in compressed form, where in I can barely see the half header. Interesting thing is, initially grid is visible to its full, but after sometime its height is reduced.
Below is the code.
<
telerik:RadGrid ID="gd" runat="server" AllowPaging="false" AllowSorting="True" GridLines="None"
Skin="Office2007" AutoGenerateColumns="False" OnItemDataBound="gd_ItemDataBound"
Height="99%" Width="99%" AllowMultiRowSelection="true" ShowGroupPanel="true"
EnableViewState="true" AlternatingItemStyle-BackColor="#eeeeee" HorizontalAlign="NotSet">
<
MasterTableView GroupLoadMode="Client" GroupsDefaultExpanded="true" TableLayout="Auto">
<
GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldName="Desc" HeaderText=" " HeaderValueSeparator=" " />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="Id" SortOrder="Descending" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<
RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<Columns>
<telerik:GridTemplateColumn HeaderText="Column#" ItemStyle-Width="15%" HeaderStyle-Width="15%"
ItemStyle-VerticalAlign="Top" ShowSortIcon="true" SortAscImageUrl="../MyAircraft/Images/SortAsc.gif"
SortDescImageUrl="../MyAircraft/Images/SortDesc.gif" SortExpression="ColNbr">
<ItemTemplate>
<asp:Label ID="lblColNbr" runat="server"></asp:Label>
</
ItemTemplate>
<ItemStyle VerticalAlign="Top" Width="10%"/>
</telerik:GridTemplateColumn>
</
Columns>
<
EditFormSettings>
<PopUpSettings ScrollBars="None" />
</EditFormSettings>
</MasterTableView>
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" VerticalAlign="Top" Wrap="True" Height="100%" Width="100%" />
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" AllowKeyboardNavigation="true">
<Selecting AllowRowSelect="True" EnableDragToSelectRows="true" />
<Scrolling AllowScroll="true" UseStaticHeaders="true" />
<Resizing AllowColumnResize="True" ResizeGridOnColumnResize="True" EnableRealTimeResize="True"
ClipCellContentOnResize="true"></Resizing>
</ClientSettings>
</telerik:RadGrid>
I am populating the grid at runtime, and values of the lblColnbr is set in gd_ItemDataBound.
There are few more columns with label and text box, as it will increase the size of the text, i am not including those.
Please let me know if I have missed anything here.
Thanks,
Het