Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have a menu, what i want is that when i click on parent item of menu then only subitem should display,mean i dont want to display subitem on mouseover. what should i do.Is there any property should i set or i have to write code for it please help.
Posted
Updated 28-Sep-12 2:25am
v2
Comments
Vani Kulkarni 28-Sep-12 9:39am    
Repost of the question[^].

As this question is a repost, posting the same link as answer:
how to show submenu in menu in click event[^]

Another link:
aspnet-menu-click-instead-of-hover[^]
 
Share this answer
 
Comments
[no name] 28-Sep-12 9:57am    
@vani:its not working please tel me another example
see the css of ur menu's ul li there will be .hover effect Please remove it than try it will run..Deepu Ji
or try with static menu
 
Share this answer
 
v2
Comments
[no name] 29-Sep-12 4:17am    
how to use static menu can you tel me briefly please
Devang Vaja 29-Sep-12 4:42am    
Hey Deepshikha ji sorry haan for my bad behaviour, You can add menu From Toolbox> navigation> Menu and From design side You can customize it to dynamic or static View

also see the Properties of menu you will Get whatever You want any How
[no name] 29-Sep-12 6:26am    
@devang:how to set static view?
Devang Vaja 29-Sep-12 6:28am    
Have You Put menu? than go to design side at that side like we customize grid by autoformat same thing you can customize Menu and By default menu will be static
[no name] 29-Sep-12 8:23am    
@DEVANG:But it shows me submenu on mouse hover move.i want this submenu on the click event of main menu

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900