Mega Code Archive

 
Categories / ASP.Net Tutorial / WebPart
 

Turning off the zone modification capability

<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>