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.v24.2.dll
Declaration
Event Data
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. |
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.
- The ASPxPivotGrid is bound to an SQL data source using server mode.
- The ASPxPivotGrid is bound to an OLAP data source.
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.