Looking for something?

It is possible to use your ASP.NET web parts in your Windows SharePoint Services (WSS) application simply by exporting them to create .webpart files.
.Webpart files are simply XML files that contains property values, state data, assembly or source file details about your Web Part (WP).

In order to be able to export your WP, you need to make some changes to your WP code and the configurationsettings.

Step by Step:
1) In your WP code, set the ExportMode property to allow properties to be exported, like this:
                this.ExportMode = WebPartExportMode.All;

  1. Locate and modify your system.web section in your web.config configuration file, like this:

  2. Choose export from the Web Part menu to create a .webpart file which you now can import into your WSS WP Page :)

0 Comments 13 December 2006
Tobias Zimmergren

Tobias Zimmergren

Hi, I'm Tobias Zimmergren. I am a Microsoft MVP for SharePoint and I use this site to share my thoughts on tech with you on topics like SharePoint, Office 365, Azure and general web development.

  Malmö, Sweden

Related Post

Comments powered by Disqus

Sign up to my e-mail newsletter to get news about Azure, SharePoint and Office 365 and get instant notifications when I publish new posts!

Enter valid email