Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
19 Points
74 Posts
May 22, 2008 03:45 PM|LINK
Hello,
I need to know the current route data information from within a viewpage, so I can show/hide menu items.
Specifically things like: current controller being called, action called, etc.
What is the best way to get this information w/o me having to pass in this via the ViewData.
MVCNoob
Member
19 Points
74 Posts
Determine current route information (controller, action, etc) from within a viewpage
May 22, 2008 03:45 PM|LINK
Hello,
I need to know the current route data information from within a viewpage, so I can show/hide menu items.
Specifically things like: current controller being called, action called, etc.
What is the best way to get this information w/o me having to pass in this via the ViewData.