0

嘿,我有几种形式,其中一种形式在我查看设计时显示错误“页面包含在附加到母版页时无效的标记”

页面

<%@ Page Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" 
     CodeBehind="DownDoc.aspx.cs" Inherits="FYPDMS.DownDoc" Title="Untitled Page" %>
  <asp:Content ID= "Content1" ContentPlaceHolderID =  "ContentPlaceHolder1" 
     runat="server">
       <div id="cssmenuuuu">

   <ul>
      <li class="active">

网站母版页

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site2.master.cs"    
    Inherits="FYPDMS.Site2" %>

   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org  
     /TR/xhtml1/DTD/xhtml1-transitional.dtd">

ASPX 页面中的错误

问题出在哪里?

4

1 回答 1

0
<%@ Page Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" 
     CodeBehind="DownDoc.aspx.cs" Inherits="FYPDMS.DownDoc" Title="Untitled Page" %>
  <asp:Content ID= "Content1" ContentPlaceHolderID =  "ContentPlaceHolder1" 
     runat="server">
       <div id="cssmenuuuu">

        <ul>
          <li class="active"/>
        </ul>
        </div>
    </asp:Content>
于 2013-11-03T18:54:01.297 回答