ASP.NET 2.0 Menu Issue

PROKA

Junior Contributor
Joined
Sep 3, 2003
Messages
249
Location
Bucharest
If I click on an element but not exactly on the writing, as in the attached picture, it doesn't select it.

How could I select that Item even if I don't click on the writing?
 
Last edited:
I don't understand, are you doing the menu with ASP.NET, or client side JavaScript?

If you are using client side js, you will want to use the <tr onMouseDown="JS:CallFunction();"> or something similar.
 
Nate Bross said:
I don't understand, are you doing the menu with ASP.NET, or client side JavaScript?

If you are using client side js, you will want to use the <tr onMouseDown="JS:CallFunction();"> or something similar.

it's an ASP.NET 2.0 Menu

check http://uniforme.elvensoft.ro and you'll see what I'm talkin' about.
 
I know this is kind of old; however, I just found out that if you use

Code:
 

after the text in the menu item, for example


Code:
<asp:MenuItem Text="Corporate         " NavigateUrl="Default.aspx?pa=services&sid=corp" Value="Corporate" />

This allows the user to click on the non-breaking space as part of the text without having underscores or other characters.
 
Back
Top