My Experience with Ubuntu
Showing posts with label
viewcontext
.
Show all posts
Showing posts with label
viewcontext
.
Show all posts
Wednesday, October 19, 2011
Routing paramaters in MVC
In .NET MVC, you can access the routing parameters by using RouteData property of the ViewContext object similar to below.
ViewContext.RouteData.Values["id"]
Older Posts
Home
Subscribe to:
Posts (Atom)