ImageButton::RaisePostBackEvent Method (String^)


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)

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