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

RadGrid with IE9

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Preethi
Top achievements
Rank 1
Preethi asked on 09 Sep 2011, 06:19 AM
Hi,
    We have been using Telerik contols in our projects. In one of the aspx pages I am using RadGrid, it loads the data on IE8 but on IE9 it displays blank data. Is there any specific property which I need to set.
The following is my grid code

<

 

radG:RadGrid ID="grdVBList" runat="server" GridLines="None" Skin="Vista" height="96%" width="99%" AllowAutomaticUpdates="True" AllowSorting="True"

 

 

AllowPaging="false" PageSize="17" EnableAJAX="True" CellPadding="0" CellSpacing="0"

 

 

EnableAJAXLoadingTemplate="True" OnSortCommand="grdVBList_SortCommand"

 

 

BorderWidth="1px" ItemStyle-Wrap = "False" >

 

 

<MasterTableView AutoGenerateColumns="False" TableLayout="Fixed">

 

 

<ExpandCollapseColumn Resizable="False" Visible="False">

 

 

<HeaderStyle HorizontalAlign="Center" />

 

 

</ExpandCollapseColumn>

 

 

<RowIndicatorColumn Visible="False">

 

 

<HeaderStyle />

 

 

</RowIndicatorColumn>

 

 

<Columns>

 

 

<radG:GridTemplateColumn ItemStyle-HorizontalAlign="Left" UniqueName="Icon">

 

 

<HeaderStyle Width="8%"/>

 

 

<ItemTemplate>

 

 

<asp:CheckBox ID="chkSelected" runat="server" onclick="enabledisablebutton(this.checked);"></asp:CheckBox>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

<radG:GridBoundColumn DataField="lVBID" HeaderText="VBID" ReadOnly="True"

 

 

UniqueName="lVBID" Display="False">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn DataField="sSAPNO" HeaderStyle-Width="12%" HeaderStyle-HorizontalAlign="Left"

 

 

ReadOnly="True" UniqueName="sSAPNO" ItemStyle-HorizontalAlign="Left">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn DataField="sVBName" ReadOnly="True" HeaderStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign = "Left"

 

 

SortExpression="sVBName" UniqueName="sVBName">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn DataField="lUnits" ReadOnly="True" HeaderStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign = "Left"

 

 

SortExpression="lUnits" UniqueName="lUnits">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn DataField="lBonus" ReadOnly="True" HeaderStyle-Width="12%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign = "Left"

 

 

SortExpression="lBonus" UniqueName="lBonus">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn DataField="lQuantity" ReadOnly="True" HeaderStyle-Width="12%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign = "Left"

 

 

SortExpression="lQuantity" UniqueName="lQuantity">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn DataField="lMinQuantity" ReadOnly="True" HeaderStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign = "Left"

 

 

SortExpression="lMinQuantity" UniqueName="lMinQuantity">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridTemplateColumn ItemStyle-HorizontalAlign="Left" UniqueName="Qty" HeaderStyle-HorizontalAlign="Left" DataField="lMinQuantity">

 

 

<HeaderStyle />

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

<ItemTemplate>

 

 

<asp:TextBox ID="txtQty" Width="70px" height="14px" MaxLength="4" runat="server" onKeyPress="return checkNumeric(event)"></asp:TextBox>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

<radG:GridTemplateColumn ItemStyle-HorizontalAlign="Left" UniqueName="Qty" HeaderStyle-HorizontalAlign="Left" Display="false">

 

 

<HeaderStyle Width="0px" />

 

 

<ItemStyle width="0px" />

 

 

<ItemTemplate>

 

 

<asp:HiddenField ID="hdnQty" runat="server" value='<%#DataBinder.Eval(Container.DataItem,"lMinQuantity") %>'></asp:HiddenField>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="true" ScrollHeight="200px" />

 

 

</ClientSettings>

 

 

</radG:RadGrid>

Regards,
Preethi D

 

1 Answer, 1 is accepted

Sort by
0
Preethi
Top achievements
Rank 1
answered on 09 Sep 2011, 07:33 AM
Got the anwer for this by setting the table layout of the corresponding table to fixed
<table style="table-layout:fixed;"
Tags
Grid
Asked by
Preethi
Top achievements
Rank 1
Answers by
Preethi
Top achievements
Rank 1
Share this question
or