1

I want to render two seperate 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

1 Answer 1

2

What you are looking for are Partial Views

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

Sign up to request clarification or add additional context in comments.

3 Comments

After reading that article I got few doubts. There we are getting the view data from public ActionResult List(). My doubt is how this will be called? No where mentioned like List() should be called.
Thanks buddy.. I was thinking like stupid.. in traditional way. many thanks to ur time spent for answering me... Throjen
no problem man, one does need to start thinking in a different way when using MVC. takes a while to get used to :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.