aspnet-devexpress-dot-web-8134e23f.md
Serves as a base for classes that implement settings affecting the search panel functionality in grid-like controls.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public class ASPxGridSearchPanelSettings :
ASPxGridSettingsBase
Public Class ASPxGridSearchPanelSettings
Inherits ASPxGridSettingsBase
Use the following properties to accerss the base search panel’s settings:
ASPxGridView : ASPxGridView.SettingsSearchPanel
ASPxCardView : ASPxCardView.SettingsSearchPanel
ASPxVerticalGrid : ASPxVerticalGrid.SettingsSearchPanel
ASPxTreeList : ASPxTreeList.SettingsSearchPanel
Web Forms (In markup):
<dx:ASPxGridView ID="Grid" runat="server" >
...
<SettingsSearchPanel Visible="true" ShowApplyButton="True" ShowClearButton="True"
ColumnNames="ContactName; CompanyName" />
</dx:ASPxGridView>
Web Forms (in code):
ASPxGridView grid1 = new ASPxGridView();
grid1.ID = "grid1";
Page.Form.Controls.Add(grid1);
...
grid1.SettingsSearchPanel.Visible = true;
grid1.SettingsSearchPanel.ShowApplyButton = true;
grid1.SettingsSearchPanel.ShowClearButton = true;
grid1.SettingsSearchPanel.ColumnNames = "ContactName; CompanyName";
MVC:
@Html.DevExpress().GridView(settings => {
settings.Name = "grid";
settings.SettingsSearchPanel.Visible = true;
settings.SettingsSearchPanel.ShowApplyButton = true;
settings.SettingsSearchPanel.ShowClearButton = true;
settings.SettingsSearchPanel.ColumnNames = "ContactName; CompanyName";
...
}).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
Show 13 items
Object StateManager PropertiesBase ASPxGridSettingsBase ASPxGridSearchPanelSettings ASPxCardViewSearchPanelSettings
ASPxGridViewSearchPanelSettings
ASPxVerticalGridSearchPanelSettings
MVCxGridViewSearchPanelSettings
MVCxCardViewSearchPanelSettings
MVCxVerticalGridSearchPanelSettings
MVCxTreeListSettingsSearchPanel
See Also