UltimateAjax Class Library

UltimateAjax.IsAnyCallback Property

Gets or sets whether the page is requested by any UltimateAjax control.

[Visual Basic]
Public ReadOnly Property IsAnyCallback As Boolean
[C#]
public bool IsAnyCallback {get;}

Property Value

Indicates whether the page is requested by any UltimateAjax control.

Remarks

Use this property to check whether the page is requested by any UltimateAjax control.

Example

This sample shows how to whether the page is requested by any UltimateAjax control.

private void Page_Load(object sender, System.EventArgs e) 
{
    // Check whether the page is requested by any UltimateAjax control
    if (UltimateAjax1.IsAnyCallback)
    {
        // Add your own logic
    }
}

See Also

UltimateAjax Class | Karamasoft.WebControls.UltimateAjax Namespace