Search code examples
asp.netvisual-studio-2010asp.net-4.0visual-web-developer-2010

How can I change which master page is used for a web page?


When creating a new item - "Web Form using Master Page" I get a dialog for choosing the master page.

Can I get that dialog for an existing page so I can change its master page?


Solution

  • you can also change this in the .aspx page, change the MasterPageFile="" setting to whichever masterpage you want the page to use.