Back to Devexpress

Data Processing Modes in the WinForms

dashboard-118802-winforms-dashboard-winforms-designer-create-dashboards-in-the-winforms-designer-providing-data-data-processing-modes.md

latest6.3 KB
Original Source

Data Processing Modes in the WinForms

  • Jun 02, 2022
  • 3 minutes to read

The Dashboard can perform data-related operations, such as grouping and filtering, in server and client modes. There are data sources that allow you to choose the proper mode, while others do not and come with a fixed mode.

Set the Data Processing Mode

Whether you can change the data processing mode, depends on the data source type.

The IsServerModeSupported property for all data source types allows you to determine whether the current data source supports server-side data processing.

Server Mode Limitations

SQL Data Sources

In server mode, the Dashboard does not have simultaneous access to bound data in its entirety. This results in the following limitations:

  • Stored procedures are not supported in server mode.

  • Stored procedures executed using custom SQL are not supported in server mode.

  • Some calculated fields cannot be evaluated in server mode.

  • The Count Distinct summary function is not supported for the following database engines:

  • The Median summary function is supported for the Oracle data provider only.

  • The Mode summary function is supported for the Oracle and PostgreSQL data providers only.

  • The Bound Image and Grid dashboard items can display images only from the following types of databases:

Entity Framework Data Sources

Refer to the Entity Framework 4.0+ Server Mode Specifics topic for information on Entity Framework Server Mode limitations.

Data Processing Errors

The Dashboard Designer displays an exclamation sign in the dashboard item’s top left corner when an error occurs during data processing operations (changing summary types, calculation errors, and others). The tooltip contains an error description.

The following image demonstrates an error that occurs when the summary type of the Extended Price measure is set to Median in server mode.

To see the error message, hover over the icon.