473,614 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to highlight child menu?

Hi,

I have the menu below. I was wondering if it was possible to
highlight the selected child menu item when the user hovers over it?

<span id="MainMenuHol der" onmenuitemclick ="OnClick" style="width:10 0%;
clear:both;">
<asp:Menu ID="MainMenu" runat="server"
Orientation="Ho rizontal"
BackColor="#E3E AEB" DynamicHorizont alOffset="2" Font-
Names="Verdana"
Font-Size="0.9em" ForeColor="#666 666"
StaticSubMenuIn dent="10px">
<Items>
<asp:MenuItem Text="Data Maintenance
Functions" Selectable="fal se">
<asp:MenuItem Text="Translati ons" />
<asp:MenuItem Text="Reference Data"
Selectable="fal se">
<asp:MenuItem Text="General"> </
asp:MenuItem>
<asp:MenuItem Text="House"></
asp:MenuItem>
<asp:MenuItem Text="Motor"></
asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Best Price"
Selectable="fal se">
<asp:MenuItem Text="Directive s"></
asp:MenuItem>
<asp:MenuItem Text="Reports"> </
asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="BOB">
<asp:MenuItem Text="Error Settings"></
asp:MenuItem>
<asp:MenuItem Text="Settings" ></
asp:MenuItem>
<asp:MenuItem Text="Enable/Disable"></
asp:MenuItem>
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Inquiries "
Selectable="fal se">
<asp:MenuItem Text="Customer Activity" />
<asp:MenuItem Text="Runtime Log" />
<asp:MenuItem Text="Site Error Log" />
</asp:MenuItem>
<asp:MenuItem Text="Confused Partners"
Selectable="fal se">
<asp:MenuItem Text="Customer Data"></
asp:MenuItem>
<asp:MenuItem Text="Customer Email Data"></
asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
</span>

Appreciate any help

Thanks
Jul 14 '08 #1
0 1439

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

Similar topics

2
3077
by: Brindley | last post by:
Hi there, In my Mdi application, I have placed a set of controls on the parent form to call child forms. The problem is that the controls hide the child forms. I have used SendToBack when Im calling the child form, that works fine. The problem arrises when I want to show those controls again when I close the child form. Im sure BringToFront will work but im not sure how to do this from the child form.
15
2184
by: 50295 | last post by:
Hi everyone, This one is better experienced than explained, so I'm including a code sample below. Please and save (as an html file) and view with NN or Firefox (or maybe even Mozilla), and then view. When loaded: (1.) Place the mouse over "Top Menu" item. (The menu opens) (2.) Move to any of the sub-menu items. (3.) Click on the left or right (but NOT on the text) of the current
4
2494
by: Sean Connery | last post by:
I know I can merge a child forms menu into the MDI parent's mainmenu, but I would also like to listen for common events fired from the mainmenu that might be of interest to any child forms. Is this possible?
2
3550
by: Jim H | last post by:
I would like to have some MenuItems that are specific to my child form appear in the main menu. In the MSDN documentation: Menu merging is typically done to merge the menus of a Multiple Document Interface (MDI) parent form with those of its active MDI child form. This is performed automatically by the .NET Framework common language runtime. For example, if an MDI parent form contains a set of menus for handling files and your MDI child...
0
1081
by: Bernie Yaeger | last post by:
When I add a main menu to a child form in an mdi app, and use this code, the menu does not merge (I do not want it to merge with the parent's menu): Dim i As Integer For i = 0 To MainMenu1.MenuItems.Count - 1 MainMenu1.MenuItems(i).MergeType = MenuMerge.Remove Next
4
10976
by: Steve Barnett | last post by:
I've created a simple MDI application and have designated the Window menu to keep track of the mdi children. When I first load an mdi child, it's caption consists of "File: no file loaded" and this is what appears on the Window menu. Now, after the mdi child loads, I call a method to load a specifically named file. At this point, the child changes it's caption to reflect the new file name. Unfortunately, the Window menu does not update...
4
3618
by: raj_genius | last post by:
I hav two queries, whc are as follows: FIRSTLY: is it possible to access the controls(by name) of a parent form(MDI) from its child forms??if yes then how??plzz provide a coded example in VB if possible.. for example..i hav a menu in the parent form named "Administrator" whic has an item "mnuLogIn"..now when i click on login..another child form named "frmLogIn" is displayed..what i want to happen is this: when login form(frmLogIn) is...
3
2733
by: zacks | last post by:
Forgive me if this has been already asked an answered, I did do a search both here and in VS2005 Help, but I can't find the answer to my question. I am developing an MDI application that is a speciality XML file editor, used to create and edit a special XML file. It is an MDI app since I want users to be able to have multiple XML files open at the same time. The parent form has the usual Menu bar with a File menu that has the
0
2180
by: Mel | last post by:
I have a treeview control that contains a list of filenames which I am searching. If a file in the tree matches the search criteria the entire node is expanded. Often times there are other files in that expanded node that don't match the criteria. Is there a way to highlight ALL the nodes that matched the search criteria? Example Code (Using ASP.NET 2.0, Visual Basic): Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As...
0
8142
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8640
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8589
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8287
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8443
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4136
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1438
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.