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

Showing Ajax Loading While I Retrieve Web Service Data

1 Answer 98 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 08 Mar 2013, 04:08 PM
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

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 11 Mar 2013, 08:25 AM
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.

Tags
ChartView
Asked by
Brett
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or