Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   |   Class Browser
  |   I want my samples in...   

ASP.NET Quickstart Tutorials

Go To...

WebPartZone

The WebPartZone control serves as the primary control in the Web Parts control set for hosting ASP.NET server side controls on a Web page.

In addition to web parts that inherit from the WebPart class, a WebPartZone control can host controls that do not derive from the WebPart class, by wrapping them with a GenericWebPart control at run time. Consequently, virtually any ASP.NET server control or user control can function as a web part when used inside a WebPartZone control.

The following example shows how to use a WebPartZone control in an ASP.NET page, and how to place web parts inside it.



C# WebPartManager1.aspx
Run Sample View Source





Hosted by MaximumASP | Found a broken link? | Contact Us | Terms and conditions | Privacy Policy | Advertise with us
� 2000 - 2008  Mindcracker LLC. All Rights Reserved