As you know SharePoint 2007 is based on top on ASP.net 2.0 framework. Beginners are using System.Web.UI.WebControls.WebParts.WebPart as a reference for the Web Part Creation.
This enables:
- Usage on websites developed on ASP.net 2.0 and also on SharePoint based portals
- Getting familiarized with Windows SharePoint Services 3.0 classes as a starting point
But as you started with coding and working on MOSS or SPS would need to move on to Microsoft.SharePoint.WebPartPages.WebPart in your code.
It obviously has it's own advantages:
- Enables cross-page connections
- Enables connections between webparts placed in different webpart zones on the same SharePoint page
- Helps in migrating webpart code to WSS 3.0 based webparts
- Utilize the SharePoint offerred data caching mechanism
No comments:
Post a Comment