Skip to main content
All docs
V25.1
  • Tab

    ASPxCardView.HeaderFilterEditorInitialize Event

    Occurs when a header filter editor is initialized.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    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.

    Remarks

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

    <ASPxCardView ID="ASPxCardView1" onHeaderFilterEditorInitialize="ASPxCardView1_HeaderFilterEditorInitialize">
        ...
    </ASPxCardView>
    
    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