Version

IsAsyncPostBack Method (ClientScript)

Check if postback is asynchronous and triggered by UpdatePanel or CallBackManager. If it is the case, then document.onload will never happen and control should do something about that.
Syntax
'Declaration
 
Public Shared Function IsAsyncPostBack( _
   ByVal control As Control _
) As Boolean
public static bool IsAsyncPostBack( 
   Control control
)

Parameters

control

Return Value

True: async postback.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also