RefreshFieldListService Class
Enables you to specify options that affect how the Field List is refreshed.
Namespace: DevExpress.XtraReports.Web.ReportDesigner.Services
Assembly: DevExpress.XtraReports.v24.2.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
Remarks
Create a descendant of the RefreshFieldListService class and override the MaxNestingLevelUpdate property. It specifies the maximum nesting level of field list nodes whose data are queried when the Field List refreshes.
The code snippets below demonstrate how to use this service to minimize the amount of data requested to refresh the Field List.
Implement a derived class and override its methods.
Register the class implemented in the previous step as a custom service at the application’s startup.
ASP.NET Web Forms and ASP.NET MVC
ASP.NET Core
using DevExpress.XtraReports.Web.ReportDesigner.Services; var builder = WebApplication.CreateBuilder(args); builder.Services.AddSingleton<RefreshFieldListService, MyRefreshFieldListService>(); var app = builder.Build();