CatalogZoneBase.RaisePostBackEvent Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Carries out the actions associated with one of the zone verbs, or raises an event that posts back to the server.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

protected override void RaisePostBackEvent(
	string eventArgument
)

Parameters

eventArgument
Type: System.String

A String that contains the argument for the event.

If the eventArgument parameter data indicates that the add verb or the close verb was clicked, then the RaisePostBackEvent method carries out the action associated with the verb, such as adding WebPart controls to the page, or closing the catalog. If the method is being called for any other reason, then the base method is invoked to raise a postback event to the server.

Notes to Inheritors:

If you want to add custom verbs to a CatalogZoneBase zone, you need to override the RaisePostBackEvent method to handle the event if a user clicks a custom verb.

.NET Framework
Available since 2.0
Return to top
Show: