Solved

ASP.net Menu Item onmouseover error

Posted on 2013-11-19
8
361 Views
Last Modified: 2013-12-05
Hi. I get the following error when trying to use the code below in my Site.master page shown in the attachment


Line 44:                         </asp:MenuItem>
Line 45:                         <asp:MenuItem ImageUrl="~/Resources/B1.bmp"></asp:MenuItem>
Line 46:                         <asp:MenuItem ImageUrl="~/Resources/B1.bmp" onmouseover="this.src='Resources/B2.bmp'" onmouseout="this.src='Resources/B1.bmp'" ></asp:MenuItem>
Line 47:                     </Items>
Line 48:                 </asp:Menu>

<asp:MenuItem ImageUrl="~/Resources/B1.bmp" onmouseover="this.src='Resources/B2.bmp'" onmouseout="this.src='Resources/B1.bmp'" ></asp:MenuItem>
SiteMaster.txt
0
Comment
Question by:murbro
  • 3
  • 2
8 Comments
 
LVL 23

Expert Comment

by:Rajkumar Gs
ID: 39661397
Hi murbro

What is the error message you are getting ?

Raj
0
 

Author Comment

by:murbro
ID: 39673979
System.We.UI.WebControls.MenuItem does not have a public property named 'onmouseover
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39686218
post a link to the page so we can see what the browser sees please.

Cd&
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:murbro
ID: 39689653
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39690745
There is nothing on that page except a massive (2mb) bit map being used as a background.

There is nothing rendering that could support a mouseover event.

The source shows some attempt at a form (the code looks like it will be broken), and some links an nav; but nothing renders.  S I would suggest that there are problems wtih the on page scripting.  You need to eliminate the scripting so the page renders and then bring back the functions one at a time until the rendering fails again and that will probably where you find the element that is throwing the error is being generated or modified.

Cd&

Cd&
0
 

Author Closing Comment

by:murbro
ID: 39698445
Thanks for the help
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now