ASP.NET Community Standup Forums Help Home/ASP.NET Forums/Starter Kits and Source Projects/Personal Site Starter Kit/Object Expected Error Menu Control Object Expected Error Menu Control [Answered]RSS 31 replies Last post Sep 10, 2010 03:25 PM by pshisbey ‹ Previous object expected error in ie Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved object expected error in ie8 Threads Support Options Advanced Search Reply strik None 0 Points 1 Post Object Expected Error Menu Control Jul 17, 2006 09:32
Microsoft Jscript Runtime Error Object Expected In Asp Net PM|strik|LINK I am currently experiencing a javascript "Object Expected" error when rolling over the main menu on the top of the site. I am notexperiencing this in my dev environment, and only in my hosted one. http://stackoverflow.com/questions/4722103/why-do-i-get-error-object-expected-when-trying-to-call-jquery I have simply taken the Personal Web Site starter kit set it up on my dev machine and then also set it up in a hosted online environment. The main menu (ASP:Menu control), when doing a mouse over is attempting to call Menu_HoverRoot(this).Debugging theissue comes upwith the issue being the Menu_HoverRoot call.Being a .Net 2.0 control, I'm not sure where to look for the fix. Has anyone seen this, figured it out http://forums.asp.net/t/1009084.aspx?Object+Expected+Error+Menu+Control and are able to shed light on the fix for me? Any help would be appreicated. Reply jeremyf Member 10 Points 4 Posts Re: Object Expected Error Menu Control Sep 11, 2006 11:35 AM|jeremyf|LINK I am having the exact same problem. It appears to be a server side issue. The nav menu is working on the development workstation (local), but when I move the site/app to the live server, I simply get the "Object Expected" JavaScript error. I have removed and re-registered .NET 2.0 on the site. I repaired the .NET Framework 2.0 and rebooted the server, no change. Anyone else seen this and/or have some suggestions as to what the problem might be? Thanks - Jeremy Error Object Expected component javascript .NET 2.0 navigation menu - Jeremy Reply jeremyf Member 10 Points 4 Posts Re: Object Expected Error Menu Control Sep 14, 2006 03:44 PM|jeremyf|LINK Fixed! It turned out to be something I had run in to previously in a very different situation (PHP). It just took a while to correlate the underlying symptoms to the actual cause. The details were pretty simple in retrospect, but not obvious due to a number of factors (Shrek says, "Browsers are like onions... they have layers.") In a nutshell, the embedded resources (like
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a http://www.codeproject.com/Questions/285320/JQuery-Object-Expected-Error Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing http://p2p.wrox.com/classic-asp-databases/18652-run-time-error-object-expected.html Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database object expected Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge  The Insider object expected error News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ JQuery "Object Expected" Error Rate this: Please Sign up or sign in to vote. See more: C# ASP.NET jQuery hi, In my ASP.NET application. I have used JQuery Autocomplete for retrieving database values using Handlers(.ashx). Now the problem is, i used "UpdatePanel" to avoid flickering on Postback. Now those Autocomplete textbox are lost its JQuery reference on each Postback hence i need to rebind those textbox with the corresponding JQuery reference(From my previous post i got it from an developer). Reference : How to Enable JQuery Autocomplete textbox inside Gridview with UpdatePanel?[^] [^] Hence i used the code Gives me an error at "javascript:call();". the error is object expected. I dont know what is the error. Please help me. #2 (permalink) September 20th, 2004, 01:06 PM sureshbabu Friend of Wrox Join Date: Sep 2004 Location: Hyderabad, Andhra Pradesh, India. Posts: 104 Thanks: 0 Thanked 0 Times in 0 Posts Hi, here also the same mistake you did. Use form tag. And the second mistaje what you did is not using "return" statement while calling the function. Use "javascript:return call();". Thanks Suresh Babu #3 (permalink) September 20th, 2004, 08:06 PM rajanikrishna Friend of Wrox Join Date: Sep 2003