Hi,
I have tried sub-classing a RadSplitButton. But no functionalities is being inherited from the original button. So, there is no dropdown content showing (popup) when clicking on the dropdown button, Command gets not executed and so on.
Any suggestion on how to properly base a custom control on this Split button, please?
Hello Avrohom,
I have prepared a sample project, in order to test the specified behavior, however, creating a custom class that derives from the RadSplitButton class works correctly on my end. Also, this article contains useful information about extending existing controls. With that said, I have attached the mentioned project, so, could you give it a try and let me know if I am missing something?
Regards,
Stenly
Progress Telerik
Many thanks Stenly,
I have realised what the problem was. It was that I have overridden the OnApplyTemplate Method without calling base.OnApplyTemplate. It works now perfectly OK.