Nov 8, 2009

The options to render a partial view

Normally you can do this,

<% Html.RenderPartial("LogOnUserControl"); %>

Or you can do this

ViewResult partialResult = View("next");
return View(partialResult);
<%ViewData.Model.ExecuteResult(ViewContext); %>