Back to Devexpress

ASPxWebControl.IsCallback Property

aspnet-devexpress-dot-web-dot-aspxwebcontrol-bf5d8632.md

latest2.6 KB
Original Source

ASPxWebControl.IsCallback Property

Gets a value indicating whether the request is the result of a callback sent by the control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public virtual bool IsCallback { get; }
vb
Public Overridable ReadOnly Property IsCallback As Boolean

Property Value

TypeDescription
Boolean

true if the request is the result of a callback sent by the control; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsCallback property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

web-forms-pivot-grid-obtain-underlying-data/CS/ASPxPivotGrid_DisplayUnderlyingRecords/Default.aspx.cs#L9

csharp
rowIndexValue = RowIndex.Value;
if (ASPxGridView1.IsCallback &&
    !string.IsNullOrEmpty(columnIndexValue) && !string.IsNullOrEmpty(rowIndexValue))

web-forms-pivot-grid-obtain-underlying-data/VB/ASPxPivotGrid_DisplayUnderlyingRecords/Default.aspx.vb#L11

vb
Dim columnIndexValue As String = ColumnIndex.Value, rowIndexValue As String = RowIndex.Value
If ASPxGridView1.IsCallback AndAlso Not String.IsNullOrEmpty(columnIndexValue) AndAlso Not String.IsNullOrEmpty(rowIndexValue) Then
    BindGridView(columnIndexValue, rowIndexValue)

See Also

ASPxWebControl Class

ASPxWebControl Members

DevExpress.Web Namespace