Skip to main content

ASPxCardView.HeaderFilterEditorInitialize Event

Occurs when a header filter editor is initialized.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public event ASPxCardViewHeaderFilterEditorInitializeEventHandler HeaderFilterEditorInitialize

Event Data

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

Property Description
Column Gets the column to which the processed editor belongs.
Editor Gets the editor in the header filter. Inherited from ASPxGridHeaderFilterEditorInitializeEventArgs.
EditorType Gets the editor type. Inherited from ASPxGridHeaderFilterEditorInitializeEventArgs.


You can use the HeaderFilterEditorInitialize event to customize the header filter editor when it is initialized.

<ASPxCardView ID="ASPxCardView1" onHeaderFilterEditorInitialize="ASPxCardView1_HeaderFilterEditorInitialize">
protected void ASPxCardView1_HeaderFilterEditorInitialize(object sender, ASPxCardViewHeaderFilterEditorInitializeEventArgs e) {
    if (e.EditorType == GridHeaderFilterEditorType.Calendar){
        // your code

Note that the HeaderFilterEditorInitialize event supports only editors that do not send callbacks.

See Also