ASPxGridSearchPanelSettings.Delay Property
Gets or sets the time interval between the time an end-user starts typing within the search panel, and filtering is applied.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 1200 | An Int32 value that specifies the time interval, in milliseconds. |
Property Paths
You can access this nested property as listed below:
Remarks
The grid displays the search panel when the ASPxGridSearchPanelSettings.Visible property is set to true. It allows end users to type the required text in the panel editor to filter grid data.
Use the Delay property to specify the time interval between the time an end user starts typing in the search panel, and the time the grid applies the filter criterion.
You can use the ASPxGridSearchPanelSettings.AllowTextInputTimer property to disable the time delay. In this case, an end user can click the Search button or press the ENTER key to apply the entered criterion.
Example
WebForms (declaratively):
<dx:ASPxGridView ID="Grid" runat="server" >
...
<SettingsSearchPanel Visible="true" Delay="2500" />
</dx:ASPxGridView>
WebForms (in code):
ASPxGridView grid1 = new ASPxGridView();
grid1.ID = "grid1";
Page.Form.Controls.Add(grid1);
...
grid1.SettingsSearchPanel.Visible = true;
grid1.SettingsSearchPanel.Delay = 2500;
MVC:
@Html.DevExpress().GridView(settings => {
settings.Name = "grid";
settings.SettingsSearchPanel.Visible = true;
settings.SettingsSearchPanel.Delay = 2500;
...
}).Bind(Model).GetHtml()
Concept
GridView:
WebForms: Search Panel
MVC: Search Panel
CardView:
VerticalGrid:
TreeList:
Online Demos
GridView:
WebForms: ASPxGridView - Search Panel
CardView:
WebForms: ASPxCardView - Search Panel
Vertical Grid:
WebForms: ASPxVerticalGrid - Search Panel
Tree List:
WebForms: ASPxTreeList - Search Panel