In asp.net MVC 3 is there a way to override the Layout declaration set in a view from a controller or action filter?
@{ Layout = \"~/Views/Shared/_Layout.cshtm
sorry to simply add a ref to one of my previous posts on this subject, but have a look here, it may give a wider view (pun intended) on the topic:
Where and how is the _ViewStart.cshtml layout file linked?