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

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

3 Answers 39 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ralph
Top achievements
Rank 1
Ralph asked on 23 Feb 2011, 05:31 PM

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

3 Answers, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 24 Feb 2011, 02:46 PM
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!
0
Mark
Top achievements
Rank 1
answered on 24 Jan 2012, 04:29 PM
I'm seeing this behavior as well. Is there a resolution?
0
Helen
Telerik team
answered on 25 Jan 2012, 05:53 PM
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
Tags
Menu
Asked by
Ralph
Top achievements
Rank 1
Answers by
Helen
Telerik team
Mark
Top achievements
Rank 1
Share this question
or