I want to use an IFrame in my ASP.Net MVC application, yet I want to retain the layout when the internal pages are navigated via direct access (Search Engine).
How would I switch the master page based on whether the View was in an IFrame, or a top level window?