Friday, July 15, 2011

Types of WebParts

They can be braodly classified in to 2:

1. ASP .NET WebParts: These are built on top of the ASP .NET WebPart Infrastructure.  They need a reference to System.Web.dll and inherit from the webpart base class System.Web.UI.WebControls.WebParts namespace.  These can be used in ASP .NET applications as well as SharePoint sites.

2. SharePoint WebParts:  These need a reference from the Microsoft.SharePoint.dll and must inherit the base class Microsoft.SharePoint.WepPartPages namespace.  These can be used in Sharepoint Sites only.

No comments:

Post a Comment