Back to Devexpress

ASPxPivotGrid.QueryException Event

aspnet-devexpress-dot-web-dot-aspxpivotgrid-dot-aspxpivotgrid-d2e0ad1e.md

latest2.6 KB
Original Source

ASPxPivotGrid.QueryException Event

Occurs when a query processing error occurs on a bound server providing data for the ASPxPivotGrid.

Namespace : DevExpress.Web.ASPxPivotGrid

Assembly : DevExpress.Web.ASPxPivotGrid.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event PivotQueryExceptionEventHandler QueryException
vb
Public Event QueryException As PivotQueryExceptionEventHandler

Event Data

The QueryException event's data class is PivotQueryExceptionEventArgs. The following properties provide information specific to this event:

PropertyDescription
ExceptionGets the exception that has been thrown.
HandledGets or sets whether the default exception handling actions should be performed.

Remarks

The QueryException event is raised if a query processing error occurs on a bound server providing data for the ASPxPivotGrid. This event is raised for the following data source types.

Use the PivotQueryExceptionEventArgs.Exception property to determine which exception has been thrown. To cancel the default exception handling actions, set the PivotQueryExceptionEventArgs.Handled property to true.

See Also

ASPxPivotGrid Class

ASPxPivotGrid Members

DevExpress.Web.ASPxPivotGrid Namespace