Showing Ajax Loading While I Retrieve Web Service Data

2 posts, 0 answers
  1. Brett
    Brett avatar
    6 posts
    Member since:
    Oct 2011

    Posted 08 Mar 2013 Link to this post

    I've got my chart view working; I pull the data via web services and display it.  There is a short lag during which I retrieve the data and the chart renders.  Question: How do I show a "loading" message while I wait for the web services call to complete?  So far, this is what I've tried (see below).  The problem is that the busyindicator never shows...advice?

    <chart:RadCartesianChart x:Name="CollectionLatencyChart"
      Palette="Windows8"
     
    Margin="0,18,0,0">
     
    <chart:RadCartesianChart.EmptyContent>
       
    <telerik:RadBusyIndicator x:Name="LoadingIndicator"
         
    VerticalAlignment="Top"
         
    HorizontalAlignment="Stretch"
         
    IsBusy="True" />
     
    </chart:RadCartesianChart.EmptyContent>

    Attached a picture if it helps...

    Thanks,

    Brett

  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 11 Mar 2013 Link to this post

    Hello Brett,

    Your code seems correct. I created a small test project based on your description. Data is loaded 5 seconds after the application starts - and the RadBusyIndicator is shown at that time. When data loads - the indicator changes its visibility and a bar chart is shown. I have attached it to this post for your reference.

    Can you verify if you have any additional settings to the busy indicator in code behind? If you keep experiencing issues with this you can modify the attached project to reproduce this faulty behavior and send it to us for investigation.

    Kind regards,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top