System.Web.UI.WebControls.Button.OnPreRender Method

Determines whether the button has been clicked prior to rendering on the client.

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
The event data.

Remarks

The Button.OnPreRender(EventArgs) method is used primarily by control developers when deriving a custom class from the System.Web.UI.WebControls.Button control.

Requirements

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