473,385 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Configuring the Menu Control

I haven't learned this control yet but I do need to know if it can be
configured to drop down instead of fly-out?

// Like this...
-------------------
Static Root Label
-------------------
DropDown Item 1
DropDown Item 2

--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W
Aug 31 '06 #1
6 1659
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>I haven't learned this control yet but I do need to know if it can be
configured to drop down instead of fly-out?

// Like this...
-------------------
Static Root Label
-------------------
DropDown Item 1
DropDown Item 2
Orientation="Vertical"
Aug 31 '06 #2
Thanks Mark but Vertical makes it fly-out. I didn't fool around enough with
Horizontal yet...

<%= Clinton

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:uJ**************@TK2MSFTNGP04.phx.gbl...
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>I haven't learned this control yet but I do need to know if it can be
configured to drop down instead of fly-out?

// Like this...
-------------------
Static Root Label
-------------------
DropDown Item 1
DropDown Item 2

Orientation="Vertical"

Aug 31 '06 #3
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:ec**************@TK2MSFTNGP04.phx.gbl...
Thanks Mark but Vertical makes it fly-out.
I must have misunderstood your question - I thought that when you clicked on
a top-level menu item you wanted it to drop down its child menu items.

Have a look here: http://www.sanctuaryrig.co.uk/welcome.aspx

Enter the site and click on the Biogs menu item - is that not what you
want...?
Aug 31 '06 #4
Yea, that's what it is (sanctuary.co.uk example). Just before coming back to
make note of what I discovered after hacked through and finally figured out
the terminology here is what I found noting I am configuring with one root
element to show the menu as if it were a single button with drop down
chices.

These fundamental settings meet my objectives:
Orientation="Horizontal"
StaticDisplayLevels="1" // root element, i.e. menu "label"
MaximumDynamicDisplayLevels="2" // how many items drop down

<%= Clinton
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:ec**************@TK2MSFTNGP04.phx.gbl...
>Thanks Mark but Vertical makes it fly-out.

I must have misunderstood your question - I thought that when you clicked
on a top-level menu item you wanted it to drop down its child menu items.

Have a look here: http://www.sanctuaryrig.co.uk/welcome.aspx

Enter the site and click on the Biogs menu item - is that not what you
want...?

Aug 31 '06 #5
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:em**************@TK2MSFTNGP03.phx.gbl...
These fundamental settings meet my objectives:
Orientation="Horizontal"
StaticDisplayLevels="1" // root element, i.e. menu "label"
MaximumDynamicDisplayLevels="2" // how many items drop down
OK.

If you're interested, this is the code for the Sanctuary Rig menu:

<asp:Menu ID="mnuMenu" runat="server" Orientation="Horizontal"
StaticMenuItemStyle-Width="100" StaticMenuItemStyle-Height="20"
StaticMenuItemStyle-BackColor="Gainsboro"
StaticMenuItemStyle-ForeColor="Black"
StaticHoverStyle-BackColor="LightSteelBlue"
StaticMenuItemStyle-BorderColor="GrayText"
StaticMenuItemStyle-BorderWidth="1" StaticMenuItemStyle-BorderStyle="Ridge"
StaticPopOutImageUrl="" StaticEnableDefaultPopOutImage="false"
DynamicMenuItemStyle-Width="100" DynamicMenuItemStyle-Height="20"
DynamicMenuItemStyle-BackColor="Gainsboro"
DynamicMenuItemStyle-ForeColor="Black"
DynamicHoverStyle-BackColor="LightSteelBlue"
DynamicMenuItemStyle-BorderColor="GrayText"
DynamicMenuItemStyle-BorderWidth="1"
DynamicMenuItemStyle-BorderStyle="Ridge" DynamicPopOutImageUrl=""
DynamicEnableDefaultPopOutImage="false">
<Items>
<%-- items go here --%>
</Items>
</asp:Menu>
Aug 31 '06 #6
Thanks but I just about got done this afternoon and never bothered to look
at the HTML this menu control generates -- its nested tables -- so I know
understand what this CSS Control Adapter Toolkit [1] is for -- to clean up
the weighty menu and other controls -- I'm going to try to learn to apply
that tonight and see what happens or I may have to build my own using a
styled ul block.

The thing is, I'm going to have to make some kind of choice as this menu
must do a PostBack as I am using it to build a composite control. Then after
I get the PostBack integrated with the rest of the control I'm working on I
want to do it with Atlas. Ambitious huh?

<%= Clinton

[1]
http://weblogs.asp.net/scottgu/archi....NET-2.0-.aspx

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:OL**************@TK2MSFTNGP05.phx.gbl...
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:em**************@TK2MSFTNGP03.phx.gbl...
>These fundamental settings meet my objectives:
Orientation="Horizontal"
StaticDisplayLevels="1" // root element, i.e. menu "label"
MaximumDynamicDisplayLevels="2" // how many items drop down

OK.

If you're interested, this is the code for the Sanctuary Rig menu:

<asp:Menu ID="mnuMenu" runat="server" Orientation="Horizontal"
StaticMenuItemStyle-Width="100" StaticMenuItemStyle-Height="20"
StaticMenuItemStyle-BackColor="Gainsboro"
StaticMenuItemStyle-ForeColor="Black"
StaticHoverStyle-BackColor="LightSteelBlue"
StaticMenuItemStyle-BorderColor="GrayText"
StaticMenuItemStyle-BorderWidth="1"
StaticMenuItemStyle-BorderStyle="Ridge" StaticPopOutImageUrl=""
StaticEnableDefaultPopOutImage="false"
DynamicMenuItemStyle-Width="100" DynamicMenuItemStyle-Height="20"
DynamicMenuItemStyle-BackColor="Gainsboro"
DynamicMenuItemStyle-ForeColor="Black"
DynamicHoverStyle-BackColor="LightSteelBlue"
DynamicMenuItemStyle-BorderColor="GrayText"
DynamicMenuItemStyle-BorderWidth="1"
DynamicMenuItemStyle-BorderStyle="Ridge" DynamicPopOutImageUrl=""
DynamicEnableDefaultPopOutImage="false">
<Items>
<%-- items go here --%>
</Items>
</asp:Menu>

Aug 31 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: nuwanda | last post by:
I wonder if anybody could help me with configuring my web app. First of all: where to put config files. I've generated web.config and dataconfiguration.config. I'be tried to put them to root...
6
by: Sandy | last post by:
Hello - I have a book that illustrates pulling menu items from a Sql Server table into an ascx via a stored procedure. Is this something that is done in the real world? I do like the effect...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
17
by: GS | last post by:
the main menu in the application seemed to disappeared all together until I click on an control and select mainmenu1 in designer. then the mainmenu1 displays where it should be but running it or...
3
by: John | last post by:
Hi there, I was reading an article (http://avenuea-razorfish.com/articles/TheAll-MenuNavigation_Turbek.pdf) on 'all-menu navigation' and I'd like to try and implement this in my site. Can...
5
by: Brad Isaacs | last post by:
Good morning friends, I am working with ASP.NET 2.0 -- VB code behind I have created tabbed pages using the Menu control with the Multiview control. Using the menu control to display the...
2
by: MCM | last post by:
I'm working on a plotting control. The plotting control will have a context menu with basic commands for "scaling", "zooming", etc. Is there a way that, from the parent form, I can add more...
5
by: AG | last post by:
I realize that the obvious suggestion would be malware, but my definitions are up to date and I have already scanned for it. I have also tried disabling all IE add-ons. I just rebuilt and...
1
by: angelinahmaleka | last post by:
Hi all I am learning how to use submenus and I am struggling a bit. I am using the dynamic drive switch menu and I wish to make all menus close when another menu is selected. Currently this...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.