i have a navigation page and i wanna that when click on create navigation i show dropdown
that include of Controllers name and when choose one controller then in another dropdown show related action
so how can i find my controllers name and action ?
I did do the heavy lifting for the controllers and actions. This code generates an unordered list with list items and can be dropped in your view. You can use your favorite jquery menu plugin that turns this list into a menu with the desired effect.
This code can be easily refactored to a solution where a controller and a (partial)view is used in case you need to reuse this snippet.