Click here to Skip to main content
15,908,455 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have used the asp.net menu control in a user control.I have included the user control in a master page,which has event handler for firing the menu item click event.I will be disable and enable the menu items based on need.When After disabling the menu item if click a enabled Menu item i get the following error

"Can't select a disabled or unselectable menu item"

But if I load the menu after clearing the menu item every time befor enabling or disbaling the menuitems ,above mentioned error is not generated

Thanks in advance
Posted
Updated 19-Oct-10 22:36pm
v2
Comments
Sandeep Mewara 20-Oct-10 4:10am    
Simply sounds like menu item is not yet enabled!
Abhinav S 20-Oct-10 4:11am    
You will need to post the code you have written here before someone can help you.
shakil0304003 20-Oct-10 12:03pm    
you should give your code. Without code it is hard to understand.

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