Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UpdatePanel.Initialize Method

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

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

protected internal virtual void Initialize()

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, make sure to call the base class so that triggers are registered if partial-page rendering is enabled.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Show:
© 2015 Microsoft