Solved

Show Dynamic sub Menu on Hover of Main Menu

Posted on 2013-06-20
2
1,482 Views
Last Modified: 2013-06-20
The OnMenuClick event shows the sub menu items when the main menu is clicked.

I would like to show the sub menu items when the mouse hovers over the main menu.

What menu property should I set?

      <asp:Menu ID="Menu1" runat="server"
                            DataSourceID="SiteMapDataSource1"
                            MaximumDynamicDisplayLevels="0" Orientation="Horizontal"
                            OnMenuItemClick ="Menu1_MenuItemClick" >
                            <DataBindings>
                                <asp:MenuItemBinding DataMember="SiteMapNode" TextField="Title" />
                            </DataBindings>
                        </asp:Menu>

Thanks,
0
Comment
Question by:Dovberman
2 Comments
 
LVL 41

Accepted Solution

by:
guru_sami earned 300 total points
ID: 39263518
It's because you have set: MaximumDynamicDisplayLevels="0"
Change it as per your sub menu items.
MaximumDynamicDisplayLevels
0
 

Author Closing Comment

by:Dovberman
ID: 39263623
Thank you.

This is what I needed.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SqlDependency to get update from sql to my c# app 2 39
asp enable view state 1 24
Footer for each row on Gridview 2 21
ASP.NET MVC -Add authentication 2 21
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question