开发者

rendering/re-usable content in asp.net mvc, what are my options?

In webforms, if I wanted to display a list of categories I would create a category control. this control would either take in parameters or analyze the current url and list the categories and breadcrumb as appropriate.

What options开发者_运维知识库 do I have with asp.net mvc?


Partial Views

You can find more View and UI Rendering techniques here:

Views and UI Rendering in MVC Applications

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜