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

[Solved] OnResize issue with RadGrid in IE7

2 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Trip Hogger
Top achievements
Rank 1
Trip Hogger asked on 30 Nov 2009, 08:49 PM
Folks,

I have a web page that fully worked with IE6.  This web page, when the user clicks a button, opens a new window that contains a radgrid.  My company recently upgraded from IE6 to IE7 and the web page stopped working correctly.  The page with the RadGrid keeps triggering "onresize" (w/o even resizing the window).  Upon each "onresize", the grid shrinks until the height is 0.  Here's a snippet of the code:
<body id="body" enableviewstate="true" onload="setTimeout('onLoad()', 50);" onresize="onResize()" onmousedown="RememberMouseButtons(); HideTooltip();" 
    onmouseup="ResetMouseButtons();" onmousemove="RememberMouseButtons();"
 
[some more code here...] 
 
 
    <radG:RadGrid ID="RadGrid1" CssClass="CDSInstance" runat="server" AllowPaging="True" 
                        EnableViewState="true" AllowCustomPaging="true" PageSize="15" Width="95%" OnItemDataBound="RadGrid1_ItemDataBound" 
                        EnableAJAX="false" OnColumnCreated="RadGrid1_ColumnCreated" OnNeedDataSource="RadGrid1_NeedDataSource" 
                        OnPageIndexChanged="RadGrid1_PageIndexChanged" OnPreRender="RadGrid1_PreRender" 
                        AllowSorting="True" OnSortCommand="InstanceGrid_SortCommand" Skin="None" AllowMultiRowSelection="true" 
                        UseEmbeddedScripts="false"
                        <MasterTableView Width="100%" AllowCustomSorting="true" TableLayout="Fixed" DataSourcePersistenceMode="NoPersistence" 
                            EnableColumnsViewState="false"
                            <ItemStyle CssClass="OddContentRow" /> 
                            <AlternatingItemStyle CssClass="EvenContentRow" /> 
                            <RowIndicatorColumn Visible="False" UniqueName="RowIndicator"
                                <HeaderStyle Width="20px"></HeaderStyle> 
                            </RowIndicatorColumn> 
                            <PagerStyle CssClass="PagerRow" Mode="NextPrevAndNumeric" PageButtonCount="25" /> 
 
[some more code here...] 

Is there any difference between ie6 and ie7 that would create this kind of behavior?


2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Dec 2009, 11:03 AM
Hi Trip Hogger,

We will need a complete runnable example in order to investigate this problem. You can open a regular support ticket and attach a ZIP file there.

Greetings,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Trip Hogger
Top achievements
Rank 1
answered on 07 Dec 2009, 04:28 PM
Dimo,

Thank you for responding.  I found the error, non-telerik related. 

--TH
Tags
Grid
Asked by
Trip Hogger
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Trip Hogger
Top achievements
Rank 1
Share this question
or