UpdatePanel.Initialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the UpdatePanel control trigger collection if partial-page rendering is enabled.
protected public:
virtual void Initialize();
protected internal virtual void Initialize ();
abstract member Initialize : unit -> unit
override this.Initialize : unit -> unit
Protected Friend Overridable Sub 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
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈