Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

OnPreRender Method (e)

Raises the PreRender event.

Syntax

CSharp

protected override void OnPreRender (
	EventArgs e
)

VisualBasic

Protected Overrides Sub OnPreRender ( _
	e As EventArgs _
)

ManagedCPlusPlus

protected:
virtual void OnPreRender (
	EventArgs^ e
) override

JSharp

protected void OnPreRender (
	EventArgs e
)

Parameters

e (EventArgs)

An EventArgs object that contains the event data.

Remarks

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

Exceptions

ExceptionCondition
InvalidOperationException

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

Assembly: System.Web.Extensions (Module: System.Web.Extensions)