WebPartContextualInfo.InitPageComponentScript Property
Gets or sets the script that will be triggered when the Web Part is first selected if its value is not a null reference (Nothing in Visual Basic) and not Empty.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property InitPageComponentScript As String
Get
Set
'Usage
Dim instance As WebPartContextualInfo
Dim value As String
value = instance.InitPageComponentScript
instance.InitPageComponentScript = value
public string InitPageComponentScript { get; set; }
Property Value
Type: System.String
The ECMA script that will be triggered when the Web Part is first selected.