I am learning about Progressive Enhancement and I have a question about AJAXifying views. In my MVC 3 project I have a layout page, a viewstart page, and two plain views.
In ~/Views/ViewStart.cshtml:
~/Views/ViewStart.cshtml
@{ Layout = Request.IsAjaxRequest() ? null : "~/Views/Shared/_Layout.cshtml"; }
and in the controller:
public ActionResult Index() { return View(); }