Skip to main content
Tab

ASPxGridSearchPanelSettings.Visible Property

Gets or sets whether the grid displays the search panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.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.

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.

GridView - Search Panel

Example

Web Forms (in markup):

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

Web Forms (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