Export (0) Print
Expand All

UpdatePanel.OnPreRender Method

Raises the PreRender event.

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

'Declaration
Protected Friend Overrides Sub OnPreRender ( _
	e As EventArgs _
)

Parameters

e
Type: System.EventArgs

An EventArgs object that contains the event data.

ExceptionCondition
InvalidOperationException

The ChildrenAsTriggers property is set to false, and the UpdateMode property is set to Always.

The OnPreRender method is used by control developers to extend the functionality of the UpdatePanel control.

.NET Framework

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