Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Menu > Adding Site to Zone in IE Causes 'type' is null or not an object error

Not answered Adding Site to Zone in IE Causes 'type' is null or not an object error

Feed from this thread
  • Ralph avatar

    Posted on Feb 23, 2011 (permalink)

    I am using the Ajax Rad Menu from Q3 2010 in Visual Studio 2010 on Windows 2008 Enterprise Server
    This error happens in my development environment on Windows 7 and in production on Windows 2008 Server

    Put the Rad Menu into your project and configure it to look something like this:

    <telerik:RadMenu ID="RadMenu1" Skin="Windows7" EnableEmbeddedSkins="False" OnClientItemClicking="myClickFunction" runat="server">
        <ExpandAnimation Type="InOutQuad"></ExpandAnimation
    </telerik:RadMenu>

     

    Add your own Menus and sub menus as you see fit.  Run the application out of VS2010.  Notice that when you run the page you created and pass the mouse over the menus the menus drop down and slide out normally.

    In the browser (IE8) go to the Tools | Internet Options menu.  When the Internet Options dialog box comes up, click the Security tab.  Select the Trusted Sites zone and click the Sites button.  Uncheck the "Require server verification" check box and add the http://localhost to the Websites list.  Click Close then click OK on the Internet Options diaolog box.

    Pass your mouse back over the menus and you should get a javascript error that shows in VS2010.  In the Telerik.Web.UI.WebResource_2.axd?... file you get this error in this function: " 'type' is null or not an object "

     

    Sys.UI.DomEvent=function(e){var a=e,b=this.tyle=a.type.toLowerCase();this.rawEvent=a;this.altKey=a.altKey;

    where    b=this.tyle=a.type.toLowerCase()   is hghlighted in yellow showing the statement that failed

    Go ahead and click the Continue button on the error dialog until the error clears and passes execution on to the browser.  Now refresh your browser by hitting F5.  Pass your mouse over the menus and the error no longer happens.

    Can anyone tell me why this might be happening?

    Ralph

    Reply

  • Helen Helen admin's avatar

    Posted on Feb 24, 2011 (permalink)

    Hi Ralph,

    I've just answered another ticket regarding the same problem.
    Could you please try to test the same scenario with a standard asp:menu and with/without asp:ScriptManager?
    I believe it is something specific to the asp:ScriptManager, because the problem disappears when it is removed from the page.

    Regards,
    Helen
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Mark avatar

    Posted on Jan 24, 2012 (permalink)

    I'm seeing this behavior as well. Is there a resolution?

    Reply

  • Helen Helen admin's avatar

    Posted on Jan 25, 2012 (permalink)

    Hello Mark,

    What is the exact problem that you experience?
    Could please you open a support ticket and send us detailed steps how to reproduce it locally?


    Regards,
    Helen
    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Menu > Adding Site to Zone in IE Causes 'type' is null or not an object error
Related resources for "Adding Site to Zone in IE Causes 'type' is null or not an object error"

[  ASP.NET Menu Features  |  Documentation  |  Demos  |  Step-by-step Tutorial  ]