开发者

Multiple view in same page asp.net MVC2

I want to render two seper开发者_JAVA技巧ate views in same page. I mean, for example I am showing details of a shop, I need to get the Category List (View1- Action results returns all catogories in that shop) and BrandList (View2 - Action results returns exclusive brands in that shop). How can I achieve this? or how can I write my controller class to get this? Thanks in advance. ..Throjen


What you are looking for are Partial Views

http://www.highoncoding.com/Articles/638_Understanding_Partial_Views_in_ASP_NET_MVC_Application.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜