CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/5/2007 4:15:48 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
bryankia
Asp.Net User
Having difficulty getting the menu control to behave the way I want it to.9/5/2007 4:15:48 PM

0/0

so here are my issues

1. the users would like the menu to drop down only when the highest level is clicked.

2. The only part of the drop down menu that is selectable is where the letters are so if I have a long menu item next to a short one the selectable area is small.

 

below is how my menu is set up

Thanks,

Bryan

<asp:Menu ID="MainMenu" runat="server" Orientation="Horizontal" MaximumDynamicDisplayLevels="1"

DataSourceID="SiteMapDataSource1" DynamicEnableDefaultPopOutImage="False" StaticEnableDefaultPopOutImage="False">

<StaticMenuStyle CssClass="navbar" />

<StaticMenuItemStyle CssClass="navStaticNormal" />

<StaticHoverStyle CssClass="navStaticHover" />

<DynamicMenuItemStyle CssClass="navDynamicNormal" Font-Strikeout="False" />

<DynamicHoverStyle CssClass="navDynamicHover" />

</asp:Menu>

Amanda Wang - M
Asp.Net User
Re: Having difficulty getting the menu control to behave the way I want it to.9/7/2007 2:34:15 AM

0/0

Hi,

bryankia:

1. the users would like the menu to drop down only when the highest level is clicked.

2. The only part of the drop down menu that is selectable is where the letters are so if I have a long menu item next to a short one the selectable area is small.

You can try to use the css menu adapter of The ASP.NET 2.0 CSS Friendly Control Adapters  .

The CSS Friendly Control Adapters allow you to alter the HTML that is rendered by a standard ASP.NET 2.0 server control. 

There is a video link about the css friendly control adapters: http://www.asp.net/learn/videos/video-185.aspx.

In this video you can learn that the standard ASP.NET Menu control renders an HTML <table> element, but with the CSS Friendly Control Adapters the same control will render an HTML <ul> list element, improving the menu?s accessibility and presentation.

Hope it helps.

 


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
bryankia
Asp.Net User
Re: Having difficulty getting the menu control to behave the way I want it to.9/11/2007 4:52:59 PM

0/0

Thanks Amanda.  I have been working a couple of different issues with this and now I am back.  I talked to my boss and he is okay with just a small delay on when the mouse moves over the menu.  the example page you gave me has a small delay but I can not see how they did it.  I have looked in the menu control and I see no delay for the mouse over.  is this in the style sheet?  If so could you point me in the correct direction?

 

Thanks,

Bryan

Amanda Wang - M
Asp.Net User
Re: Having difficulty getting the menu control to behave the way I want it to.9/12/2007 2:45:27 AM

0/0

Hi Bryan,

Using the CSS Adapter you can customize the rendering even further you can easily to modify it however you want.

A class that derives from the System.Web.UI.Adapters.ControlAdapter base class or one of the built-in sub-classes of it. Within the sub-class, you then override the appropriate methods to customize the markup however you want. 

You can read this ScottGu's article, CSS Control Adapter Toolkit for ASP.NET 2.0

In this article, he talked  :

  • What does a control adapter do?
  • how to use these control adapters? 
  •  how to create an ASP.NET control adapter from scratch?
  • How to Get Started with the CSS Adapter Toolkit
 And provided more value material about the CSS Adapter. Hope these help.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
Johnson2007
Asp.Net User
Re: Having difficulty getting the menu control to behave the way I want it to.9/12/2007 3:01:36 AM

0/0

CSS Adapter is a good solution.

But I'd like to instruct you another optional third part control: DHTMLMenu, which surpport expanding submenu item by clicking onto the static menu.  


Johnson
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Handbook of Human Factors in Web Design Authors: Robert W. Proctor, Kim-Phuong L. Vu, Pages: 738, Published: 2005
Visual Basic 2008 Programmer's Reference: Programmer's Reference Authors: Rod Stephens, Pages: 1248, Published: 2008
Photoshop 7 Artistry: Mastering the Digital Image Authors: Barry Haynes, Wendy Crumpler, Seán Duggan, Pages: 466, Published: 2002
Digital Media Tools Authors: Nigel Chapman, Jenny Chapman, Pages: 520, Published: 2008
Inside Flash MX Authors: Jody Keating, Fig Leaf Software, Pages: 912, Published: 2002
Keepers of the Earth: Native American Stories and Environmental Activities for Children Authors: Michael J. Caduto, Joseph Bruchac, Ka-Hon-Hes, Pages: 52, Published: 1988
Longman Idioms Dictionary: over 6000 idioms Authors: Sue Engineer, Della Summers, Karen Stern, Pages: 416, Published: 1998

Web:
Having difficulty getting the menu control to behave the way I ... Having difficulty getting the menu control to behave the way I want it to. Last post 09-11-2007 11:01 PM by Johnson2007. 4 replies. ...
Avalon Custom Menu Control | Tech Off | Channel 9 Jul 11, 2005 ... I'd like to create an Avalon custom control which behaves like a menu, but I'm having trouble finding any documentation or examples ...
User Interface Design for Programmers - Chapter 3 If it's a graphics program, they probably want to be able to control every pixel ... It needs to be small so it doesn't get in peoples' way on the sidewalk. ...
How to behave in a threesome? | Ask Metafilter Oct 5, 2008 ... Unless the people you're having a threesome with are in this thread, ... Sex with just 2 people is difficult enough to get right. ...
b# Figure 8.3 - The menu control renders, unfortunately the links require post- backs ..... to get the various links you might having lying around in your view. ...
TheMSsForum.com >> Dotnet >> wizard control, and javascript - The ... Is there a way to fix the editor to behave the way it used to? .... I've been having difficulty with the upgrade, because the setup program keeps telling me ...
Ensim Control Panel - Applications Articles, Administration of ... I need to install GTK+ and I'm having difficulty choosing which to install from ..... How can I get this panel to behave like it should(the GNOME way)? ...
School Violence Prevention, School Shooting, Intervention ... You need to learn what to do if you want to get back in charge of these ... and any other youngster having difficulty controlling their acting-out behavior. ...
To make xterm behave more like Terminal.app... [Archive] - The ... sao, when I press the key, I get the Main Options Menu. ..... I'm sure I'll figure it out eventually and get them the way I want. ...
My two biggest complaints about OS X. [Archive] - Mac Forums I can understand liking the Start menu, but I can't understand why you wouldn't want to modify the dock to behave the same way. ...

Videos:
Lec 21 | MIT 3.091 Introduction to Solid State Chemistry Engineered Glasses: Network Formers, Network Modifiers, Intermediates Properties of Silicate Glasses Metallic Glass View the complete course at: ...




Search This Site:










changes to treenode text are not applied to html

exception in staticsitemapprovider

master page issue

how can i implement iframe?

asp 2.0 cross-page posting

running code depending on the page

i need some help with delaying the menu control

uip navigation and sitemap ( breadcrumb control )

web.sitemap

treeview newbie question

changing the display order of the sqlsitemap

content place holder

top menu with one style when select even when a sub menuitem selected

treeview and xml -- suppress the first node

right aligment of dynamicmenu (submenu) of horizontal menu

masterpage not refrshing properly

how do one create a page like this in a masterpage.

using css in master pages

treeview

error parsing control: a related uri cannot be created because the uri string parameter represents an absolute uri.-what does this mean????

screen jumps differently in vs2005 then in vs2003

resizing of content placeholder

dynamic master page works only without precompilation with aspnet_compiler???

treeview - nodes get "reset" onselectednodechange event....

seemless header control + content - how?

dynamic meta tags in content pages

images with a theme

master pages + asp.net 2 + viewstate = problems!

asp:button not working in content page when updatepanel in masterpage, why?

what i see is not what i get!!! (cell's borders and css styles)

  Privacy | Contact Us
All Times Are GMT