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 OnPreRender(EventArgs) event and registers the script control with the ScriptManager control.

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

After the PreRender event of the base class is raised, the OnPreRender(EventArgs) method registers the script control with the ScriptManager control.

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