All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

RefreshFieldListService Class

Enables you to specify options that affect how the Field List is refreshed.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.Services

Assembly: DevExpress.XtraReports.v20.1.Web.dll

Declaration

public class RefreshFieldListService
Public Class RefreshFieldListService

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.

  1. Implement a derived class and override its methods.

    using DevExpress.XtraReports.Web.ReportDesigner.Services;
    
      public class MyRefreshFieldListService : RefreshFieldListService
      {
          public override int MaxNestingLevelUpdate => 1;
    
      }
    
  2. 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

      using DevExpress.XtraReports.Web.ReportDesigner.Services;
      
        void Application_Start(object sender, EventArgs e) {
          DefaultReportDesignerContainer.Register<RefreshFieldListService, MyRefreshFieldListService>();
        }
      
    • ASP.NET Core

      using DevExpress.XtraReports.Web.ReportDesigner.Services;
      
        public void ConfigureServices(IServiceCollection services) {
            // ...
            services.AddSingleton<RefreshFieldListService, MyRefreshFieldListService>();
        }
      

Inheritance

Object
RefreshFieldListService
See Also