CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/16/2007 3:16:57 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 44 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
emarinko
Asp.Net User
ASP:Menu - Make Entire sub-menu item clickable?3/16/2007 3:16:57 PM

0/0

Hi,

I have a text based fly-out menu.  The menu control generates sub-menu links in the following form:

<tr><td><a href="http://forums.asp.net/AddPost.aspx?ForumID=139#url#">#text#</a></td></tr>

I'm getting complaints that you have to hover over the text for the link to work,  i.e. only *part* of the menu item visible to the user is an active clickable region.    When some menu items have short text, this is really annoying.

Eg: would want instead something like: 

<tr><td onclick="window.location.href='#url#';" style="cursor:pointer;">#text#</td></tr>

Does anybody know a workaround to make the generated sub-menu work this way?

cultx
Asp.Net User
Re: ASP:Menu - Make Entire sub-menu item clickable?3/17/2007 1:05:55 PM

0/0

Set width to 100% for your link style should do your work... 

<tr><td><a href="http://forums.asp.net/AddPost.aspx?PostID=1623819#url#" style="width:100%">#text#</a></td></tr>

Hope it helps you?

Best regards
Casper Stendal
webbureau

Zhao Ji Ma - MS
Asp.Net User
Re: ASP:Menu - Make Entire sub-menu item clickable?3/21/2007 7:13:12 AM

0/0

Hi,

You can define a css class to make entire menu item clickable.

.menuitem
{
    width:100px;
    display: block;
}

Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
petermeadit
Asp.Net User
Re: ASP:Menu - Make Entire sub-menu item clickable?6/12/2007 7:41:05 AM

0/0

Thanks, this works well for me.

Peter Mead,
www.petermeadit.net


Peter Mead : www.petermeadit.net
-----
If I have seen further it is by standing on the shoulders of giants.
-- Isaac Newton, Letter to Robert Hooke, February 5, 1675
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007
ASP.NET 2.0 Instant Results Authors: Imar Spaanjaars, Paul Wilton, Shawn Livermore, Pages: 456, Published: 2006
Beginning Visual Basic 2005 Databases Authors: Thearon Willis, Pages: 736, Published: 2006
Excel 2003 VBA Programming with XML and ASP Authors: Julitta Korol, Pages: 948, Published: 2006
Beginning Visual Basic 2005 Authors: Thearon Willis, Bryan Newsome, Pages: 799, Published: 2006
Dreamweaver MX 2004: The Complete Reference Authors: Ray West, Tom Muck, Pages: 958, Published: -1
Migrating to .NET: A Pragmatic Path to Visual Basic .NET, Visual C++ .NET and ASP .NET Authors: Dhananjay Katre, Prashant Halari, Narayana Rao Surapaneni, Manu Gupta, Meghana Deshpande, Pages: 487, Published: 2002
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
ASP.NET Kick Start: Kick Start Authors: Stephen Walther, Pages: 624, Published: 2002

Web:
Create menu with multiple sub menu columns - ASP.NET Forums Is it possible to create the menu with the standard asp.net menu .... Please remember to click “Mark as Answer” on the post that helps you, ...
How to build the tab like menu as "MSDN" web site? - ASP.NET Forums Once I click the submenu item, the SiteMapPath doesn't get updated. ... Asp.Net Menu Control Binding with XMLDataSource - Binding ... This example works fine & help me lot to create menu item as i m new in asp.net .... solved my problem, always make sure a submenu/menu, has a blank url ...
Adding Menu items programmatically in ASP To add another menu item, click another "Type Here" area within the Menu ... You want to make the dynamic menus in ASP page or aspx(ASP. ...
ExpandingMenu Help - Navigation Menu for ASP/JSP/PHP pages Each menu item can only extend two levels. To delete an item, select it, then click the Del button. If a main item doesn't have any sub items, ...
Walkthrough: Controlling ASP.NET Menus Programmatically The content of the second menu is determined by which menu item is selected in ..... However when I click on either Consulting or Development the sub-menu ...
ASP.NET Menu Control - Main and Popup Menu Components - DevExpress ... You can use client-side events to perform custom actions when a sub-menu is being invoked or hidden and when end-users click a menu item. ...
how to get a menu with submenu items in asp.net 2.0 how to get a menu with submenu items in asp.net 2.0 ... as we can see if i click on C#Source or the submenu which in this case is the .aspx page, ...
Menus in ASP.NET applications Explains how to make static or dynamic menus in ASP.NET applications. ... So, Locate the items property of your Menu control and click it and set your items ...
Dynamic menu items from a database I had a menu, with a submenu, with a submenu wit a menu item. ... then when i click on one of the level1 items, it only displays the menu as ...




Search This Site:










adding tool ?????

web controls: datagrid, datalist, table, ...

vs 2005

viewing references in vs 2005

the ienumerator interface

web custom control with radiobuttons

creating code snippets

smartnavigation and asp.net 2.0

how to make changes?

removing arrow icons from menu control

solution file folder

suggestion: filter solution explorer on type

asp.net machine user

using databinder / container from code

newbies to dnn and lack of assistance

binding data from 1 stored procedure to multiple form elements

start up process

problem with date/time values in aspnetdb.mdf

ftp pa or module?

forms authentication with asp.net 2.0 and active directory: can't login :s

temporarily store additional user information

how to get "remember me next time" checkbox to persist my formsauthentication cookie so users don't have to log in every time

createuserwizard contentemplate problem

space between containers, where can i change/modify

dnn 2 admin\skins\admin.ascx

"links" module

after installed norton2004, webapplicaions cannot open

admin host login problem, new user register problem

outputcached controls cannot be wrapped by a genericwebpart

help with user tag

 
All Times Are GMT