Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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.

#Inheritance

Object
RefreshFieldListService
See Also