UpdatePanel.OnPreRender Method (EventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the PreRender event.

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

protected internal override void OnPreRender(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

An EventArgs object that contains the event data.

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