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

IE8 zoom not firing window.resize event

4 Answers 111 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
mirang
Top achievements
Rank 1
mirang asked on 16 May 2012, 05:41 PM
I have a page which has radscriptmanager and radajaxmanager onto it. On the same page i have put the code to handle window.resize. The handler works for all the browser, but when i am zooming in IE8 this event is not called. This behavior is observed when i keep radajaxmanager on the page, when i remove this, even in IE8 it works properly. Please find the code below : 

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script language="javascript" type="text/javascript">
        window.onresize = showresize;
        function showresize() {
            alert('Window Resized');
        };
    </script>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" 
            Name="Telerik.Web.UI.Common.Core.js">
        </asp:ScriptReference>
        <asp:ScriptReference Assembly="Telerik.Web.UI" 
            Name="Telerik.Web.UI.Common.jQuery.js">
        </asp:ScriptReference>
        <asp:ScriptReference Assembly="Telerik.Web.UI" 
            Name="Telerik.Web.UI.Common.jQueryInclude.js">
        </asp:ScriptReference>
    </Scripts>
</telerik:RadScriptManager>
<telerik:RadAjaxManager runat="server" ID="ShellAjaxManager" RequestQueueSize="3"  />
    <h2>
        Welcome to ASP.NET!
    </h2>
</asp:Content>

Can you please let me know what i am missing, because this is really strange.

4 Answers, 1 is accepted

Sort by
0
mirang
Top achievements
Rank 1
answered on 17 May 2012, 01:42 AM
Any updates on this, is this kind of a bug or some unexpected behavior?
0
Maria Ilieva
Telerik team
answered on 17 May 2012, 09:55 AM
Hello,

I tried to replicate the described issue locally but to no avail. Find the movie below which presents my local test and let me know if I'm missing something.
http://screencast.com/t/03lukpO3ZA


Greetings,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
mirang
Top achievements
Rank 1
answered on 17 May 2012, 10:24 AM
Can  you try zomming in the IE8 browser using the bottom zoom button which is available in IE8. If you resize the window it works fine, its only the zooming which is causing the problem.
0
Maria Ilieva
Telerik team
answered on 17 May 2012, 12:17 PM
Hi Mirang,

Here is the video from my latest test which shows that the script executes corectly even the zoom button is used:
http://screencast.com/t/OH0W64RNiw

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
mirang
Top achievements
Rank 1
Answers by
mirang
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or