asp.net mvc 3 - How to render multiple partial views without using Controller on the server side? -


i new mvc3. using razor.

i have menu 4 items. each click, different partial view should open.

could me out here..

preferably, without using controller on server side..

thanks, aneesh

html.renderpartial need if don't use controller:

http://msdn.microsoft.com/en-us/library/system.web.mvc.html.renderpartialextensions.renderpartial.aspx

if want render partial view using controller action use html.renderaction: http://msdn.microsoft.com/en-us/library/system.web.mvc.html.childactionextensions.renderaction.aspx

http://devlicio.us/blogs/derik_whittaker/archive/2008/11/24/renderpartial-vs-renderaction.aspx


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -