views:

106

answers:

3

Hi,

i need to know, if we can deploy webparts that are created in MOSS for MOSS on a ASP.NET page and use them. Or is there any way of using the webparts with MOSS.

TIA, Nimish

+1  A: 

When you create a webpart "for MOSS", you create a control which inherits System.Web.UI.WebControls.WebParts. So, actually, you write a webpart "for ASP.NET" and can also execute it inside WSS/MOSS.

Please, read this links as they provides more informations on subject:

  1. ASP.NET Web Parts controls
  2. Building an ASP.NET 2.0 Web Part for Deployment to WSS V3.0 and MOSS 2007
Rubens Farias
SO i want to deploy/use a web part created for MOSS on ASP.NET, is it possible?
Nimish
yes, it's perfectly possible
Rubens Farias
cool, how, can i just use the webparts dll's and add them as normal server controls on asp.net web form. can you guide to some online knowledgebase for this.
Nimish
+3  A: 

If the webparts created for SharePoint, are SharePoint specific, and rely on SharePoint Functionality, then they will only operate on a SharePoint server (or an ASP.NET server, with access to the SharePoint server, depending on the webpart).

However, Webparts created in ASP.NET, can (typically) be used within SharePoint.

Note: SharePoint, comprises both MOSS (Microsoft Office SharePoint Server) and WSS (Windows SharePoint Server).

Nick Haslam
A: 

You can not use SharePoint web parts in a plain ASP.NET site. Most Sharepoint web parts heavily rely on the (extra) functionality that SharePoint server provides. Without SharePoint they will not work.

W0ut