The event handler receives an argument of type PivotQueryExceptionEventArgs containing data related to this event.
The following
PivotQueryExceptionEventArgs 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. |
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.