CatalogPart::OnPreRender Method (EventArgs^)

 

Raises the PreRender event.

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

public protected:
virtual void OnPreRender(
	EventArgs^ e
) override

Parameters

e
Type: System::EventArgs^

An EventArgs that contains the event data.

Exception Condition
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
Available since 2.0
Return to top
Show: