Initializes the AsyncPostBackTrigger control and checks that the event named in the trigger exists and is valid.
Syntax
CSharp
protected internal override void Initialize ()
VisualBasic
Protected Friend Overrides Sub Initialize
ManagedCPlusPlus
protected public:
virtual void Initialize () override
JSharp
protected void Initialize ()
Exceptions
| Exception | Condition |
|---|
| InvalidOperationException | No ScriptManager control was found on the page. - or - The event that is named in the EventName property is not found for the control that is named in the ControlID property. - or - The event that is named in the EventName property for the control that is named in the ControlID property does not match a standard event handler signature. |
Assembly: System.Web.Extensions (Module: System.Web.Extensions)