Busy indicator and Images

4 posts, 0 answers
  1. Cristovao
    Cristovao avatar
    24 posts
    Member since:
    Jun 2012

    Posted 12 Jun 2012 Link to this post

    In the PanAndZoomImage help http://www.telerik.com/help/windows-phone/panandzoomimage-features.html  there's :
    The BusyIndicatorStyle property determines the visual style of the busy indicator in PanAndZoomImage. This indicator becomes visible when the Source property points to an image that has to be downloaded or to an image that takes a while to open for some reason. See this help topic for more information. 

    Can I use the same principle with the Silverlight image control?
    Any examples available?
  2. Vijay
    Vijay avatar
    29 posts
    Member since:
    Nov 2011

    Posted 12 Jun 2012 Link to this post

    Hello Cristova,

    Please find a below example for RadBusyIndicatory. You can customize and append different items that you wish to happen on browser.

    XAML Code

    <telerik1:RadBusyIndicator ContentPosition="Bottom"
                 FontFamily="Verdana" FontSize="22" AnimationStyle="AnimationStyle5"
                  Name="radBusy1" Foreground="DeepSkyBlue" Margin="42,202,70,304">


    public void button1_Click(object sender, RoutedEventArgs e)
              radBusy1.IsRunning = false;
              textBlock3.Text = "";
              if (string.IsNullOrEmpty(textBox1.Text) || string.IsNullOrEmpty(textBox2.Text))
                  textBlock3.Text = "Please Enter Some Values";
                  radBusy1.IsRunning = true;
                  objClient.addCompleted += new EventHandler<addCompletedEventArgs>(add_Call);
                  objClient.addAsync(Convert.ToDouble(textBox1.Text), Convert.ToDouble(textBox2.Text));
                  textBox1.Text = "";
                  textBox2.Text = "";

    Thanks and Regards,
    MVC Corp
  3. DevCraft banner
  4. Cristovao
    Cristovao avatar
    24 posts
    Member since:
    Jun 2012

    Posted 13 Jun 2012 Link to this post

    Not quite what I'm Looking for,,,

    what I understood the control is able to is:

    I have an <image source={Binding Url}/> and SOMEHOW as the the images is loading from the URL the BusyIndicator is made visible...
  5. Victor
    Victor avatar
    1349 posts

    Posted 13 Jun 2012 Link to this post

    Hi Cristovao,

    Showing a busy indicator while your image is being downloaded is very easy. If you read the msdn reference for the Image class, you will notice that it has an ImageOpened event. So when you set the Source property of the Image, you also start the busy indicator. When the ImageOpened event fires, download is complete, the image is ready for display and you can stop the busy indicator.

    Please write again if you have other questions.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top