我有一个母版页和测试页。在测试页面我使用母版页:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Master.Master" CodeBehind="test.aspx.cs" Inherits="ServiceLayer.Recognition.test" %>
但在执行过程中我收到了这个错误:
Content controls have to be top-level controls in a content page or a nested master page that references a master page.