Pending Review
Last Updated: 11 May 2026 09:49 by Lars
Lars
Created on: 11 May 2026 09:49
Category: UI for ASP.NET AJAX
Type: Feature Request
0
Allow lazy loading of images with design-time templates radcomboox

There is significant latency when a user has many images in a list or dropdown list, particularly those with sub-choices that also have images.  Because of this, we tried implementing design-time templates to allow lazy loading of images for RadComboBox.  While implementing a solution is possible, it was much more complicated than expected.

We have previuisly raised a feature request for simular controls that was fixed (Thanks for that) but our topp prioority component is The combobox. see Allow lazy loading of images with design-time templates for ListBox and ComboBox

D
uring the discussion a few questions was rasied from telerik:

Currently, the ComboBox has the Load on Demand functionality which focuses on loading items as needed, but it does not specifically address lazy loading of images inside the templates. Before proceeding further, I’d like to confirm your current setup to suggest the best approach:

  • Are you using server-side or client-side data binding with RadComboBox?
  • Are you using design-time templates or injecting templates dynamically?
  • How are images currently loaded in your ComboBox items?
  • Is your main concern the initial load time, scrolling performance, or something else?

Reasons (Hope it makes sense)

  • Only server-side databinding (with both controls).

  • We are using both ItemTemplate with custom images (where we then control lazy loading ourselves) and ImageUrl where we lose this possibility and have issues. We also dynamically load custom controls (ITemplate) in a few places.

The issue is that having many images in a combobox breaks TTI with the page if the images take some time to load. This problem vanishes completely when we use ItemTemplate and add loading="lazy" to our images. In our large applications, it would be very time consuming (and cause some other issues) to use ItemTemplate everywhere though, and we would like to be able to just set ImageUrl for example when creating a RadComboBoxItem manually. 

 

0 comments