Open RadzenDropDown from code behind

It seems there’s no way to open a drop down from code behind.

I have a dropdown with a number of options and at the end an extra option ‘show all options’. When the user clicks this, the list is extended with extra options. But after selecting this ‘show all options’ option, the dropdown closes and the user has to click it again to reopen it.

Is there a way to keep it open? Or reopen it from code behind? I would expect the RadzenDropDown to have Open() and Close() methods that can be called from code.

There are no such methods in the DropDown component. You might want to consider virtualization if you want to show large number of items or you can crete your own custom component similar to this demo:

Virtualization won’t help me as that will also close the dropdown when selecting an item. I’ll take a look into the popup component, but I would consider to add a way to programmatically open and close a dropdown. I can’t be the only one who has need for this functionality. :slight_smile:

We accept pull requests!