WebPartGalleryItem.OnClientAdd Property
When overridden in a derived class, gets the client ECMAScript (JavaScript, JScript) function name to be called when the user clicks the Add button in the WebPartAdder control to add the selected WebPart.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public MustOverride ReadOnly Property OnClientAdd As String
Get
'Usage
Dim instance As WebPartGalleryItem
Dim value As String
value = instance.OnClientAdd
public abstract string OnClientAdd { get; }
Property Value
Type: System.String
The client ECMAScript (JavaScript, JScript) function name.