Reputation: 21
I am wondering if it is possible to open a view in a new window but without the masterpage defined in the header? would I just define a separate view? or is there a better way? thanks!
Upvotes: 2
Views: 1371
Reputation: 9727
Just create an empty Master page, and pass the name of that Master page when returning a ViewResult
:
return View("MyView", "Empty"); // Use the "Empty" Master page to render the view
Upvotes: 4