Change master page to normal aspx page

291 views Asked by At

I have one aspx page it includes with masterpage and present i don't want that master page how can i convert that page to normal aspx page.

here is the page i added

<%@Page Language="C#"  AutoEventWireup="true" CodeBehind="SummaryReportprint.aspx.cs" 
Inherits="School.Reports.SummaryReportprint" MasterPageFile="~/Site1.Master"%>
2

There are 2 answers

0
tariq On

Remove MasterPageFile from the page directive and also remove the content tags from the aspx code. I guess that should be enough.

0
user2695786 On

Rename extension from .master to .aspx and Remove ContentPlaceHolder