title: Using "dynamic" layout pages in MVC3
body: <p>I've got a question about layout pages in MVC3:</p>
  
  <p>Is it possible to use a server-generated (e.g. loaded from a database) layout pages like:</p>
  
  <pre><code>@{
      Layout = "~/Views/Shared/Handler.ashx?layout=xyz";
  }
  </code></pre>
  
  <p>Will code inside the layout like <code>@RenderBody()</code> work?</p>
  
  <p>If anyone of you already tried something like this, I would be happy to hear about your experiences.</p>