Adding an Editor Zone to the page : EditorZone « WebPart « ASP.NET Tutorial






<%@ 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"/>
        <table>
          <tr>
            <td>
               <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>
            </td>
          </tr> 
        </table>        
    </form>
</body>
</html>








24.1.EditorZone
24.1.1.Adding an Editor Zone to the page