ScriptManager::AsyncPostBackSourceElementID Property
.NET Framework (current version)
Gets the unique ID of the control that caused the asynchronous postback.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public: [BrowsableAttribute(false)] property String^ AsyncPostBackSourceElementID { virtual String^ get() sealed; }
Property Value
Type: System::String^The unique ID of a control, if the control has an ID; otherwise, an empty string ("").
The AsyncPostBackSourceElementID property contains the value of the control ID that caused the asynchronous postback, which can be one of the following:
A postback from a control that is inside an UpdatePanel control whose ChildrenAsTriggers property is set to true (the default).
A postback from a control that is a trigger for an UpdatePanel control.
A postback from a control that is registered by calling the RegisterAsyncPostBackControl method of the ScriptManager control.
.NET Framework
Available since 3.5
Available since 3.5
Show: