UltimateAjax Class Library

UltimateAjax.IsCallback Property

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

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

Property Value

Indicates whether the page is requested by this UltimateAjax control.

Remarks

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

Example

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

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

See Also

UltimateAjax Class | Karamasoft.WebControls.UltimateAjax Namespace