System.Web.UI.Control.OnPreRender Method

Raises the Control.PreRender event.

Syntax

protected virtual void OnPreRender (EventArgs e)

Parameters

e
An EventArgs object that contains the event data.

Remarks

ASP.NET calls this method to raise the Control.PreRender event. If you are developing a custom control, you can override this method in order to provide additional processing. If you override this method, call the base control's Control.OnPreRender(EventArgs) method to notify subscribers to the event.

Requirements

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