System.Web.UI.WebControls.LinkButton.OnPreRender Method

Raises the System.Web.UI.Control.PreRender event.

Syntax

protected override void OnPreRender (EventArgs e)

Parameters

e
An EventArgs object that contains the event data.

Remarks

The LinkButton.OnPreRender(EventArgs) method notifies the System.Web.UI.WebControls.LinkButton control to perform any necessary prerendering steps prior to saving view state and rendering content to the client.

Requirements

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