Navigating from view to view in mvc2
Is it possible to navigate directly from a view to another view without having to go down to the 开发者_运维技巧controller level?
If by "navigate" you mean to render one view in another, you can use Html.RenderPartial
. If you mean creating a link with a URL that will invoke some other view directly when it is clicked, no: it would break the "C" part of MVC.
精彩评论