Show Dynamic sub Menu on Hover of Main Menu

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"
                            MaximumDynamicDisplayLevels="0" Orientation="Horizontal"
                            OnMenuItemClick ="Menu1_MenuItemClick" >
                                <asp:MenuItemBinding DataMember="SiteMapNode" TextField="Title" />

Who is Participating?
guru_samiConnect With a Mentor Commented:
It's because you have set: MaximumDynamicDisplayLevels="0"
Change it as per your sub menu items.
DovbermanAuthor Commented:
Thank you.

This is what I needed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.