This is a migrated thread and some comments may be shown as answers.

Loading while displaying image from url

1 Answer 23 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eng
Top achievements
Rank 1
Eng asked on 23 Mar 2014, 11:26 AM
How to show RadBusyIndicator while display images from url in DataTemplate inside DataBoundListBox?

1 Answer, 1 is accepted

Sort by
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.

I hope this information helps.

Regards,
Todor
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
DataBoundListBox
Asked by
Eng
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or