开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜