How to show RadBusyIndicator while display images from url in DataTemplate inside DataBoundListBox?
1 Answer, 1 is accepted
0
Todor
Telerik team
answered on 27 Mar 2014, 07:24 AM
Hi,
RadBusyIndicator is not integrated in RadDataBoundListBox, so you will need to add it to your ItemTemplate. Depending on your ItemTemplate and the way you load the data, you can use different approaches for showing/hiding the indicator. One way to do it is to have a property in your view model dedicated for this. For example, IsImageLoading, true - by default, false - once the image is loaded. Then all you need to do is bind the IsRunning property of RadBusyIndicator to the IsImageLoading property.