Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.QueryException Event

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public event PivotQueryExceptionEventHandler QueryException

#Event Data

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

Property Description
ErrorPanelText Gets or sets a text from the error panel.
Exception Gets an exception that has been thrown.
Handled Gets or sets whether the default exception handling actions should be performed.
ShowErrorPanel Gets or sets whether to show the error panel.

#Remarks

The QueryException event is raised if a query processing error occurs on a bound server providing data for the PivotGridControl. 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