Button::IPostBackEventHandler::RaisePostBackEvent Method (String^)
.NET Framework (current version)
Raises events for the Button control when it posts back to the server.
System.Web (in System.Web.dll)
virtual void RaisePostBackEvent(
) sealed = IPostBackEventHandler::RaisePostBackEvent
The argument for the event.
This event is used internally by the Button control, when it is clicked, to raise a Click event, and if defined, a Command event.
The following code example demonstrates how to override the IPostBackEventHandler::RaisePostBackEvent method so that it always raises the OnClick event in a custom Button control.
No code example is currently available or this language may not be supported.
Return to top
Available since 1.1