Click here to Skip to main content
15,902,114 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to set menus dynamically from database.In database many url stored ., how to set main menu and sub menus.,
Posted

There is no menu component in ASP.NET. Thus, it depends on what your menu component is, and if it requires a static config file or can be built in code.
 
Share this answer
 
Comments
Sandeep Mewara 3-Aug-12 14:47pm    
Yes, there is one: Menu Control Overview[^], since VS2005.
 
Share this answer
 
Comments
Umapathi K 3-Aug-12 3:30am    
insufficient data
AshishChaudha 3-Aug-12 3:31am    
What insufficient data..?
Umapathi K 3-Aug-12 3:34am    
one of its file not getting to read
Umapathi K 3-Aug-12 3:37am    
in the above link codes use to display all urls., but i want to restrict not to display some urls
AshishChaudha 3-Aug-12 3:38am    
That you have to manage by changing in database table. You can add one more field Is_Active for restricting some urls..

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