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

ASPxGridSearchPanelSettings.Visible Property

Gets or sets whether the grid displays the search panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(false)]
public bool Visible { get; set; }

Property Value

Type Default Description
Boolean **false**

true if the grid displays the search panel; otherwise false.

Property Paths

You can access this nested property as listed below:

Remarks

The search panel allows end-users to filter grid data by typing the required text in the panel editor. Use the Visible property to specify the search panel visibility.

Example

WebForms (declaratively):

<dx:ASPxGridView ID="Grid" runat="server" >
    ...
    <SettingsSearchPanel Visible="true" />
</dx:ASPxGridView>

WebForms (in code):

ASPxGridView grid1 = new ASPxGridView();
grid1.ID = "grid1";
Page.Form.Controls.Add(grid1);
...
grid1.SettingsSearchPanel.Visible = true;

MVC:

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

Concept

GridView:

CardView:

VerticalGrid:

TreeList:

Online Demos

GridView:

CardView:

Vertical Grid:

Tree List:

See Also