Script Element (DeploymentManifest - SPWebPart)
Applies to: SharePoint Foundation 2010
Represents script to execute on deployment of an instance of a Web Part (WebPart) object.
DECLARATION
<xs:element name="Script" minOccurs="0" maxOccurs="1" />
USAGE
<WebPart>
<Script />
</WebPart>
Type
xs:string
Attributes
Attribute |
Type |
Description |
---|---|---|
None |
Child Elements
None |
Parent Elements
Remarks
Web Parts can derive from either of two base classes - an ASP.NET Web Part (WebPart), or a SharePoint Foundation Web Part (WebPart)