dashboard-118803-web-dashboard-create-dashboards-on-the-web-providing-data-data-processing-modes.md
The Web Dashboard Control has two data processing modes for operations that involve data aggregation and filtering.
If a data source uses the Server data processing mode, ASPxDashboard requests the data automatically by sending a proper SQL SELECT query.
If the data source operates in Client data processing mode, ASPxDashboard creates a server-side in-memory cache that stores data from the data source. The cache accelerates client-side actions that require data updates (master filtering and others).
Whether you can change the data processing mode, depends on the data source type.
SQL Data Source - the server mode is the default mode for all Dashboard SQL data sources. To change the data processing mode for the specified data source in code, use the DashboardSqlDataSource.DataProcessingMode property.
The Entity Framework data source prevents you from switching between data processing modes. The Web Dashboard determines and applies the mode automatically based on the DBContext information about available properties as follows:
Excel Data Source, Object Data Source and Extract Data Source work in client mode and do not support server mode. An attempt to set the DataProcessingMode property results in the NotSupportedException.
OLAP Data Source works in server mode specified for the Analysis Services instance. Refer to the Determine the Server Mode of an Analysis Services Instance article for more information.
The IsServerModeSupported property for all data source types allows you to determine whether the current data source supports server-side data processing. Different data source types allow you to manage the current data processing mode in different ways.
For all data source types, you can use the IDashboardDataSource.IsServerModeSupported property to determine whether the current data source supports server-side data processing.
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:
Refer to the Entity Framework 4.0+ Server Mode Specifics topic for information on Entity Framework Server Mode limitations.
See Also