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)
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.