Skip to main content
A newer version of this page is available. .
Tab

ASPxGridSearchPanelSettings.CustomEditorID Property

Specifies the ID of a DevExpress editor that is used to set search panel filter criterion.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public virtual string CustomEditorID { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that is the editor ID.

Property Paths

You can access this nested property as listed below:

Show 20 property paths
Library Object Type Path to CustomEditorID
ASP.NET Controls and MVC Extensions ASPxCardView
.SettingsSearchPanel .CustomEditorID
ASPxGridView
.SettingsSearchPanel .CustomEditorID
ASPxTreeList
.SettingsSearchPanel .CustomEditorID
ASPxVerticalGrid
.SettingsSearchPanel .CustomEditorID
GridViewProperties
.SettingsSearchPanel .CustomEditorID
ASP.NET Bootstrap Controls BootstrapCardView
.SettingsSearchPanel .CustomEditorID
BootstrapGridView
.SettingsSearchPanel .CustomEditorID
ASP.NET MVC Extensions CardViewSettings
.SettingsSearchPanel .CustomEditorID
CardViewSettings<CardType>
.SettingsSearchPanel .CustomEditorID
GridViewSettings
.SettingsSearchPanel .CustomEditorID
GridViewSettings<RowType>
.SettingsSearchPanel .CustomEditorID
MVCxCardView
.SettingsSearchPanel .CustomEditorID
MVCxGridView
.SettingsSearchPanel .CustomEditorID
MVCxGridViewProperties
.SettingsSearchPanel .CustomEditorID
MVCxTreeList
.SettingsSearchPanel .CustomEditorID
MVCxVerticalGrid
.SettingsSearchPanel .CustomEditorID
TreeListSettings
.SettingsSearchPanel .CustomEditorID
TreeListSettings<RowType>
.SettingsSearchPanel .CustomEditorID
VerticalGridSettings
.SettingsSearchPanel .CustomEditorID
VerticalGridSettings<ColumnType>
.SettingsSearchPanel .CustomEditorID

Remarks

Use the CustomEditorID property to specify an external DevExpress editor in the search panel.

Note

You can also use the ASPxGridView.SearchPanelEditorCreate event to replace the default search panel editor with another DevExpress editor.

Example

Web Forms (declaratively):

<dx:ASPxGridView ID="Grid" runat="server" DataSourceID="GridDataSource">
     <SettingsSearchPanel CustomEditorID="ASPxTextBox1" />
     ...
</dx:ASPxGridView>

<dx:ASPxTextBox ID="ASPxTextBox1" runat="server" Width="170px">
</dx:ASPxTextBox>

Web Forms (in code):

ASPxGridView grid1 = new ASPxGridView();
grid1.ID = "grid1";
Page.Form.Controls.Add(grid1);
...
grid1.SettingsSearchPanel.CustomEditorID = "textBox1";

ASPxTextBox tb = new ASPxTextBox();
tb.ID = "textBox1";
Page.Form.Controls.Add(textBox1);

MVC:

@Html.DevExpress().GridView(settings => {
    settings.Name = "grid";
    settings.SettingsSearchPanel.CustomEditorID = "textBox";
    ...
}).Bind(Model).GetHtml()

@Html.DevExpress().TextBox(settings => {
    settings.Name = "textBox";
    ...
}).Bind(Model).GetHtml()

Concept

GridView:

CardView:

VerticalGrid:

TreeList:

Online Demos

GridView:

CardView:

Vertical Grid:

Tree List:

See Also