System.Web.UI.WebControls.ImageButton.OnPreRender Method

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

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
An EventArgs object that contains the event data.

Remarks

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

Requirements

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