Web Parts Control Description Files

JavaScript Editor jscript editor     Web designer 



Main Page

Web Parts control description files contain property values, state data, and assembly or source file details exported from a WebPart control (or other ASP.NET server or user control used in a Web Parts application) to an XML file with a .WebPart extension. A description file is used by the Web Parts import feature to import the control it describes into a Web Parts page, and to configure the imported control with the saved data. This topic describes the basic structure and XML elements included in a description file.

<webParts>
  <webPart>
    <metaData>
      <type …/>
      <importErrorMessage …/>
    </metadata>
    <data>
      <properties>
        <ipersonalizable>
          <property …/>
        </ipersonalizable>
        <property …/>
      </properties>
      <genericWebPartProperties>
        <ipersonalizable>
          <property …/>
        </ipersonalizable>
        <property …/>
      </genericWebPartProperties>
    </data>
  </webPart>
</webParts>

Expand imageRemarks

Expand imageExample

Expand imageSee Also



JavaScript Editor jscript editor     Web designer