aspnet-devexpress-dot-web-dot-aspxpivotgrid-dot-aspxpivotgrid-d2e0ad1e.md
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
public event PivotQueryExceptionEventHandler QueryException
Public Event QueryException As PivotQueryExceptionEventHandler
The QueryException event's data class is PivotQueryExceptionEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Exception | Gets the exception that has been thrown. |
| Handled | Gets or sets whether the default exception handling actions should be performed. |
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