UpdatePanel.Initialize Method

Definition

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

C#
protected internal virtual 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 to Inheritors

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

Applies to

Produkt Wersje
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also