You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
746 B
16 lines
746 B
<%@ Master Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="MasterPage.master.cs"
|
|
Inherits="MasterPage_MasterPage" %>
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
|
|
<p>
|
|
我是一个嵌套母版页
|
|
</p>
|
|
<p>
|
|
母版页中的内容
|
|
<asp:DropDownList ID="ddlMaster" runat="server" DataSourceID="XmlDataSource1" DataTextField="text"
|
|
DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlMaster_SelectedIndexChanged">
|
|
</asp:DropDownList><asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/Config/DropDownListData.xml">
|
|
</asp:XmlDataSource>
|
|
</p>
|
|
<p>
|
|
内容页中的内容
|