Tab

ASPxCardView.SearchPanelEditorCreate Event

Enables you to replace the default search panel editor with custom one.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public event ASPxCardViewSearchPanelEditorCreateEventHandler SearchPanelEditorCreate
Public Event SearchPanelEditorCreate As ASPxCardViewSearchPanelEditorCreateEventHandler

Event Data

The SearchPanelEditorCreate event's data class is ASPxCardViewSearchPanelEditorCreateEventArgs. The following properties provide information specific to this event:

Property Description
EditorProperties Gets or sets the filter cell's editor. Inherited from ASPxGridEditorCreateEventArgs.
Value Gets or sets the filter cell's value. Inherited from ASPxGridEditorCreateEventArgs.

Remarks

The SearchPanelEditorCreate event is raised for an editor within the search panel, and enables you to replace the default editor with a custom one.

To change the editor, use the event parameter's ASPxGridEditorCreateEventArgs.EditorProperties property. The editor's value is specified by the ASPxGridEditorCreateEventArgs.Value property.

To learn more about the search panel, see the Search Panel topic.

Examples

ASPxCardView_Ex_SearchPanel_EditorCreate

    <dx:ASPxCardView ID="CardView" runat="server" DataSourceID="CustomersDataSource" Width="100%" AutoGenerateColumns="False" OnSearchPanelEditorCreate=