Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebZone.OnPreRender Method

Raises the PreRender event.

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

abstract OnPreRender : 
        e:EventArgs -> unit  
override OnPreRender : 
        e:EventArgs -> unit

Parameters

e
Type: System.EventArgs

An EventArgs that contains the event data.

ExceptionCondition
InvalidOperationException

A WebZone control is nested within another zone or within a Part control.

The OnPreRender method overrides the base OnPreRender method in order to prevent a zone from rendering if its parent control is another zone or a part control.

.NET Framework

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