/asp-net-core-dashboard-limit-designer-data

How to filter data in the Designer working mode to improve the performance by displaying only several records from the datasource.

Primary LanguageC#OtherNOASSERTION

BI Dashboard for ASP.NET Core - How to Limit Data Displayed in Designer Mode

This example shows how to filter data in Designer mode. In this mode, the control displays only several records at a time from the datasource to improve performance.

On the client, the DashboardControlOptions.onOptionChanged event is handled to catch the moment when the working mode is changed. The current mode is passed to the server through the FetchRemoteService.headers dictionary. After that, the DashboardControl.reloadData method call initiates a data reloding callback (See also: Manage an In-Memory Data Cache).

On the server, the IHttpContextAccessor with dependency injection is used to access the passed working mode in code (HttpContext.Request.Headers["DashboardWorkingMode"]).

This example filters data in the following data sources:

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)