Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my project i create a masterpage. in this masterpage i place a menu control.
and i have a contentpage named as home.aspx.my problem -when i run the programm ,the mouse over in menu tool dispay an error "Microsoft JScript runtime error: Object expected" how i solve the problem
please help me

thanks in advanve
Posted
Comments
vino2012 14-Jun-12 5:54am    
post your javascript code...
deepakaitr12345 14-Jun-12 8:26am    
Mostly this type of case occured when you dont't place the js on proper place.or in other words js not found on that perticuler path.

check the javascript is placed on that path or not.Thanks

In your JS code for menu, somewhere a property is being used whose parent object is null. You need to debug and see which one and handle it out.
 
Share this answer
 
Comments
Espen Harlinn 14-Jun-12 16:36pm    
5'ed!
If you click on the yellow tag, in the lower left corner, it will display a detailed dialog that will give you a line number, and object name that failed.

From there, you can post that line of code for evaulation
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900