Inheritance of RadzenDataFilter

Hello,

I'm new in this forum and use Radzen since few weeks. Fantastic work!

The goal: add new "Help"-Button to RadzenDataFilter.

So I inherit my own and add to builder like this one:

but this does not work. Breakpoint in ctor is not reached.

Is it possible anyway?

Thank you in advance,
Alex

@enchev : is it possible at all?

Not sure where exactly you want to add this help button however in Blazor usually developers are using composition instead inheritance.

@enchev I like to do something like that:

What stops you to do the same? The DataFilter component is very similar to the DataGrid and there are also inherited DataFilterProperty examples in our demos.

@enchev I have done exactly the same and register the new component in app builder as in other referenced example (first post) . But my new component is not used.

@enchev I mean override any RadzenDataFilter by my own does not work. May be I have registered override to late and there is any rules and order of precedence to follow?

I'm afraid I'm not sure why and what is not working at your end. The example with the DataGrid you've shared is exactly what should be done.

@enchev Instead of my CustomRadzenDatafilter the default RadzenDataFilter is shown. Ctor ist also not called. But the example with custom datagrid works fine. Maybe I need to override something in my custom datagrid?