Click here to Skip to main content
14,775,044 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.

1 solution

Thats pretty trivial. Did you try? Google? CP search?

What you need is just to put the mouseover code in click event. No more change required. If you can get/know mouseover code, you can do for click.

BTW, no direct property. For mouseover kinda feature, code is written on its hover. In your case its click event.

software_Engi08 26-Sep-10 14:38pm
where is the mouseover code .i havent write any mouseover i will put that mouseover code in click event .so now What to do.
software_Engi08 26-Sep-10 14:55pm
should i write code in menuitemclick event.

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