WebParts Controls[7]->ImportCatalogPart

The ImportCatalogPart control enables users to import a description file that describes settings on a WebPart control or server control that a user wants to add to a Web page. After the user has imported the description file, the WebPart control referenced in the file appears within the ImportCatalogPart control when the page is in catalog mode, and a user can then add the control to the page.

The most common and convenient way to add a ImportCatalogPart control to a page is by declaring it in page persistence format inside a CatalogZone

To generate a description file select the export verb from the Web Part Verb Menu



C# ImportCatalogPart Sample
Run Sample View Source

posted on 2007-05-14 10:18  改变热爱  阅读(115)  评论(0)    收藏  举报

导航