Adding an image/razor component to DropDownList or combobox Items

1 Answer 471 Views
ComboBox DropDownList
Itamar
Top achievements
Rank 1
Iron
Iron
Itamar asked on 16 Dec 2021, 09:52 AM

Hi,

is it posssible to add an image or razor component to each of the DropDown or ComboBox list items? 

And if so how?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 16 Dec 2021, 09:29 PM

Hi,

You can use the Item Template to add your own content which can include images or components: https://docs.telerik.com/blazor-ui/components/dropdownlist/templates#item-template

 

Regards,
Marin Bratanov
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
Tags
ComboBox DropDownList
Asked by
Itamar
Top achievements
Rank 1
Iron
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or