Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnPreRender Method

BaseDataBoundControl.OnPreRender Method

Handles the PreRender event.

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

protected internal override void OnPreRender(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

An EventArgs object that contains the event data.

The BaseDataBoundControl class overrides the Control.OnPreRender event handler to call EnsureDataBound before calling the base class OnPreRender method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft