ImageButton.RaisePostBackEvent Method (String)


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

Raises events for the ImageButton control when it posts back to the server.

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

protected virtual void RaisePostBackEvent(
	string eventArgument


Type: System.String

The argument for the event.

The RaisePostBackEvent member is used primarily by control developers when deriving a custom class from the ImageButton control.

This method is used internally by the ImageButton control, when it is clicked, to raise a Click event and, if defined, a Command event.

.NET Framework
Available since 2.0
Return to top