Returns true if page is in Ajax callback, false otherwise.

Namespace: MonoSoftware.Web
Assembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static bool IsAsyncPostBack(
	this Page page
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function IsAsyncPostBack ( 
	page As Page
) As Boolean
Visual C++
public:
[ExtensionAttribute]
static bool IsAsyncPostBack(
	Page^ page
)
F#
static member IsAsyncPostBack : 
        page : Page -> bool 

Parameters

page
Type: System.Web.UI..::..Page
An instance of the page.

Return Value

Type: Boolean
True if the page is in Ajax callback, false otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Page. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also