WebPartGalleryItemBase.OnClientAdd Property

Gets the client ECMAScript (JavaScript, JScript) function name that will be called when the user clicks the Add button in the WebPartAdder control to add the selected the WebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides ReadOnly Property OnClientAdd As String
    Get
'Usage
Dim instance As WebPartGalleryItemBase
Dim value As String

value = instance.OnClientAdd
public override string OnClientAdd { get; }

Property Value

Type: System.String
a null reference (Nothing in Visual Basic) in all cases.

See Also

Reference

WebPartGalleryItemBase Class

WebPartGalleryItemBase Members

Microsoft.SharePoint.WebPartPages Namespace