Turning off the zone modification capability : WebPartZone « WebPart « ASP.NET Tutorial






<asp:WebPartZone ID="WebPartZone1" 
                 runat="server" 
                 LayoutOrientation="Horizontal" 
                 AllowLayoutChange="false">
      <ZoneTemplate>
      <asp:Label ID="Label1" 
                 runat="server" 
                 Text="Label"
                 Title="Welcome to my web page!">
                 Welcome to the page!
      </asp:Label>
      </ZoneTemplate>
</asp:WebPartZone>








24.4.WebPartZone
24.4.1.Creating multiple Web zones
24.4.2.Turning off the zone modification capability
24.4.3.Graying out the Close link in a Web Part
24.4.4.Removing the Close link in a Web Part
24.4.5.Using images for the Web Part verbs