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.

 

 

 

 

 

 

 

Initialize Method

Initializes the UpdatePanel control trigger collection if partial-page rendering is enabled.

Syntax

CSharp

protected internal virtual void Initialize ()

VisualBasic

Protected Friend Overridable Sub Initialize

ManagedCPlusPlus

protected public:
virtual void Initialize ()

JSharp

protected void Initialize ()

Remarks

If partial-page rendering is not enabled, the triggers that are defined in the Triggers property are not initialized because they have no effect. The EnablePartialRendering property of the ScriptManager control gets or sets a value that indicates whether partial-page rendering is enabled. The SupportsPartialRendering property of the ScriptManager control gets or sets a value that indicates whether partial-page rendering is supported.

Notes For Inheritors

When you override the Initialize() method, make sure to call the base class so that triggers are registered if partial-page rendering is enabled.

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