IE8 zoom not firing window.resize event

5 posts, 0 answers
  1. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 16 May 2012 Link to this post

    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.
  2. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 16 May 2012 Link to this post

    Any updates on this, is this kind of a bug or some unexpected behavior?
  3. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 17 May 2012 Link to this post

    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.
  4. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 17 May 2012 Link to this post

    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.
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 17 May 2012 Link to this post

    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.
Back to Top