aspnet-devexpress-dot-web-dot-aspxgridsearchpanelsettings.md
Gets or sets whether the grid displays the search panel.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(false)]
public bool Visible { get; set; }
<DefaultValue(False)>
Public Property Visible As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if the grid displays the search panel; otherwise false.
|
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.
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()
GridView:
Web Forms: Search Panel
MVC: Search Panel
CardView :
VerticalGrid :
TreeList :
GridView :
Web Forms: ASPxGridView - Search Panel
CardView :
Web Forms: ASPxCardView - Search Panel
Vertical Grid :
Web Forms: ASPxVerticalGrid - Search Panel
Tree List :
Web Forms: ASPxTreeList - Search Panel
See Also
ASPxGridSearchPanelSettings Class