Skip to main content

Server Mode

  • 2 minutes to read

The server mode is a special binding mode designed to handle massive amounts of data. Server-side data processing and on-demand data loading provide fast editor initialization and a smooth user experience regardless of the size of the data source.


The following data editors support the server mode natively:


The editor running in server mode loads data in small portions as the user scrolls through the records. This approach significantly speeds up the editor initialization.

Additionally, you can use the asynchronous server mode. Asynchronous server mode ensures that the data loading operations are performed in a background thread, keeping the user interface responsive. The image below shows a combo box loading data in asynchronous server mode.



The editors listed above support asynchronous server mode natively starting with version 16.1.

Activating the server mode

To activate the server mode, you need to bind the editor’s ItemsSource property to one of the following data sources:


When a lookup control is bound to an asynchronous data source and is used in in-place mode inside the GridControl, its values cannot be exported or printed correctly.

Multi-select editors do not work in Instant Feedback mode.


This example demonstrates how to use editors from the DXEditors suite with Server Mode data sources.

View Example

<Window x:Class="DXGridSample.MainWindow" 
        Title="MainWindow" Height="350" Width="525">

    <dxlc:LayoutControl Orientation="Vertical">
        <dxlc:LayoutItem Label="ComboBoxEdit">
            <dxe:ComboBoxEdit ValidateOnTextInput="True" AutoComplete="True" DisplayMember="Subject" ValueMember="ID" ItemsSource="{Binding Source.Data}"/>
        <dxlc:LayoutItem Label="LookUpEdit">
            <dxg:LookUpEdit ValidateOnTextInput="True" AutoComplete="True" DisplayMember="Subject" ValueMember="ID" ItemsSource="{Binding Source.Data}"/>
        <dxlc:LayoutItem Label="ListBoxEdit" VerticalAlignment="Stretch">
            <dxe:ListBoxEdit DisplayMember="Subject" ValueMember="ID" ItemsSource="{Binding Source.Data}"/>