WebPartAdder.IPostBackEventHandler.RaisePostBackEvent Method

Raises a postback event for the WebPartAdder control.

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

Syntax

'Declaration
Private Sub RaisePostBackEvent ( _
    eventArgument As String _
) Implements IPostBackEventHandler.RaisePostBackEvent
'Usage
Dim instance As WebPartAdder
Dim eventArgument As String

CType(instance, IPostBackEventHandler).RaisePostBackEvent(eventArgument)
void IPostBackEventHandler.RaisePostBackEvent(
    string eventArgument
)

Parameters

  • eventArgument
    Type: System.String

    The event argument to pass to the event handler.

Implements

IPostBackEventHandler.RaisePostBackEvent(String)

Remarks

This method only supports the post-back event that adds a Web Part to a page.

This member is an explicit interface member implementation. It can be used only when the WebPartAdder instance is cast to an IPostBackEventHandler interface.

See Also

Reference

WebPartAdder Class

WebPartAdder Members

Microsoft.SharePoint.WebPartPages Namespace