c# - 删除我的 ASP.NET 应用程序母版页

标签 c# asp.net visual-studio visual-studio-2010

如何删除我的 ASP.NET 应用程序母版页?

它默认出现在Microsoft Visual Studio 2010的输出屏幕上

enter image description here

最佳答案

更改 Default.aspx(或任何 aspx 文件)的 MasterPageFile。您可以选择创建自己的主文件或从 aspx 中删除内容控件

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TempTest._Default" %>

关于c# - 删除我的 ASP.NET 应用程序母版页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32774462/

相关文章:

c# - 获取有关 DataSet 中 DataRelations 的信息

c# - 如何在 Linux 中确定 Mono/C# 中的空闲内存(没有外部 DLL)

c# - ASPNetAuthentication——在哪里可以找到 minRequiredPasswordLength

c# - Ping 联合 asp.net 配置 saml sso

asp.net - td 问题中 asp 面板 (div) 上的最大高度

c# - 为什么固定大小的缓冲区只能是原始类型?

asp.net - 使用 Cachecow 时在 Web Api 处理程序中获取用户 ID

c++ - C++中的左大括号 "{"错误

visual-studio - 将 IIS Web 应用程序发布到网站根目录?

linux - 一个 Linux 工具,它会在我键入时显示错误,Visual Studio 风格