Skip to main content

ASPxCardViewSearchPanelSettings.ColumnNames Property

Specifies the columns to which the search panel filter should be applied.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public string ColumnNames { get; set; }

Property Value

Type Default Description
String "*"

A string value listing grid column identifiers that can be either: column name, field name, or caption.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ColumnNames
ASP.NET Bootstrap Controls BootstrapCardView
ASP.NET MVC Extensions CardViewSettings
ASP.NET Web Forms Controls ASPxCardView


Use the ColumnNames property to specify columns to which a search panel filter should be applied. The specified strings can be either: a column name (WebColumnBase.Name), field name (CardViewColumn.FieldName), or caption(WebColumnBase.Caption).

You can exclude a particular column from the filter by setting the column’s GridDataColumnSettings.AllowFilterBySearchPanel property to false.



<dx:ASPxCardView ID="CardView" runat="server" DataSourceID="CustomersDataSource" ClientInstanceName="card" Width="100%" AutoGenerateColumns="False">
        <dx:CardViewColumn FieldName="ContactName" />
        <dx:CardViewColumn FieldName="CompanyName" />
        <dx:CardViewColumn FieldName="Address" />
        <dx:CardViewColumn FieldName="City" />
        <dx:CardViewColumn FieldName="PostalCode" />
        <dx:CardViewColumn FieldName="Country" />
        <dx:CardViewColumn FieldName="Phone" />
    <SettingsSearchPanel Visible="true" ColumnNames="ContactName; City"/>
See Also