Loading while displaying image from url

2 posts, 0 answers
  1. Eng
    Eng avatar
    21 posts
    Member since:
    Jun 2013

    Posted 23 Mar 2014 Link to this post

    How to show RadBusyIndicator while display images from url in DataTemplate inside DataBoundListBox?
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 27 Mar 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top