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

CatalogPart.OnPreRender Method

Raises the PreRender event.

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

protected internal override void OnPreRender(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

An EventArgs that contains the event data.

ExceptionCondition
InvalidOperationException

The CatalogZoneBase that contains the CatalogPart control is null.

The OnPreRender method calls the base Control.OnPreRender method, and ensures that an instance of the CatalogZoneBase class has been created.

Notes to Inheritors

This method can optionally be overridden in a derived class.

.NET Framework

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