ASP.NET Tutorial/WebPart/EditorZone — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 18:30, 26 мая 2010
Adding an Editor Zone to the page
<source lang="csharp">
<%@ Page Language="VB"%> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server">
<title>Web Parts Example</title>
</head> <body>
<form id="form1" runat="server"> <asp:WebPartManager ID="Webpartmanager1" Runat="server"/>
<asp:CatalogZone ID="Catalogzone1" runat="server"> <ZoneTemplate> <asp:PageCatalogPart ID="Pagecatalogpart1" runat="server" /> </ZoneTemplate> </asp:CatalogZone> <asp:EditorZone ID="Editorzone1" runat="server"> <ZoneTemplate> <asp:AppearanceEditorPart ID="Appearanceeditorpart1" runat="server" /> <asp:BehaviorEditorPart ID="Behavioreditorpart1" runat="server" /> <asp:LayoutEditorPart ID="Layouteditorpart1" runat="server" /> <asp:PropertyGridEditorPart ID="PropertyGridEditorPart1" runat="server" /> </ZoneTemplate> </asp:EditorZone> |
</form>
</body> </html></source>