Skip to main content
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.v22.1.dll

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

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 (In markup):

<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