|
|
|
Instructor
Notes
|
|
To make a Web Part
available to users, you must add it to the Web Part gallery. The Web Part
gallery is scoped at the site collection and is implemented using a
system-supplied document library in every top-level site.
|
|
|
|
There are two
different formats for Web Part description files. ASP.NET 2.0 uses a new XML
format inside files with a .webpart extension. WSS V2 uses an older XML
format inside files with a .dwp extension
|
|
|
|
Importing a Web Part
involves adding a Web Part description file into the Web Part Gallery. If you
have a .webpart file or a .dwp file, you can click the Update button to
import the associated Web Part.
|
|
|
|
The functionality
behind the New button has been introduced with WSS V3 and provides a very
nice convenience for developers. If you click the New button, WSS presents a
list of all the available Web Part classes from the set of Web Part DLLs
configured inside the SafeControls section of the current Web application's
web.config file. When you select a Web Part and then select Populate, WSS
creates the Web Part description file at runtime and adds it into the Web
Part gallery.
|