Solved

ASP.net Menu Item onmouseover error

Posted on 2013-11-19
8
366 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

831 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