Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net Menu Item onmouseover error

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
Avatar of Rajkumar Gs
Rajkumar Gs
Flag of India image

Hi murbro

What is the error message you are getting ?

Raj
Avatar of Murray Brown

ASKER

System.We.UI.WebControls.MenuItem does not have a public property named 'onmouseover
post a link to the page so we can see what the browser sees please.

Cd&
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the help