As you have already found out, items appearance in RadDropDownList
can be customized by making use of the VisualListItemFormatting
event. By using this event to customize the items appearance, you should always provide an else clause, where you reset the appearance settings which you have introduced. This is necessary since RadDropDownList
uses data virtualization, which might lead to unpredictable appearance results when items are being reused.
Have in mind that it is absolutely normal that the VisualListItemFormatting
event is fired a lot of times. Due to the UI virtualization of the visual elements, this event ensures that the proper style will be applied to the items.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.