Solved

ASP.net Menu Item onmouseover error

Posted on 2013-11-19
8
364 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
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).

770 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