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.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Int32 | 1200 | An Int32 value that specifies the time interval, in milliseconds. |
#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
Web Forms (in markup):
<dx:ASPxGridView ID="Grid" runat="server" >
...
<SettingsSearchPanel Visible="true" Delay="2500" />
</dx:ASPxGridView>
Web Forms (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:
Web Forms: Search Panel
MVC: Search Panel
CardView:
VerticalGrid:
TreeList:
#Online Demos
GridView:
Web Forms: ASPxGridView - Search Panel
CardView:
Web Forms: ASPxCardView - Search Panel
Vertical Grid:
Web Forms: ASPxVerticalGrid - Search Panel
Tree List:
Web Forms: ASPxTreeList - Search Panel