Solved

ASP.net Menu Item onmouseover error

Posted on 2013-11-19
8
370 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:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Murray Brown
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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:Murray Brown
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:Murray Brown
ID: 39698445
Thanks for the help
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

623 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