Script Element (SPWebPart)
TOC
Collapse the table of content
Expand the table of content

Script Element (DeploymentManifest - SPWebPart)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Type
Attributes
Child Elements
Parent Elements

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>

xs:string

Attribute

Type

Description

None

Web Parts can derive from either of two base classes - an ASP.NET Web Part (WebPart), or a SharePoint Foundation Web Part (WebPart)

Show:
© 2016 Microsoft