Is it possible to return 2 PartialViews in my ActionResult instead of one?
Thanks!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Steve Sanderson blogged about using partial requests in ASP.NET MVC, it may not quite be what you are looking for but his solution allows you to attach partial views to the ViewData in a controller action which is then used on the view with the help of an extension method.
It may give you ideas on how to solve your problem: http://blog.codeville.net/2008/10/14/partial-requests-in-aspnet-mvc/