ASP.NET Tutorial/Custom Controls/header — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 18:30, 26 мая 2010
header control
<source lang="csharp">
<%@ Page Language="C#" AutoEventWireup="true" %> <%@ Register Src="Control.ascx" TagName="Header" TagPrefix="uc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">
<title>Untitled Page</title>
</head> <body>
<form id="form1" runat="server">
<uc1:Header id="Header1" runat="server"></uc1:Header>
[ Page Content ] </form>
</body> </html> File: Control.ascx <%@ Control Language="C#" AutoEventWireup="true" %>
User Control Test Page |
An Apress Creation ?2005 |