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

indication while loading reports..

3 Answers 68 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
TMLP
Top achievements
Rank 1
TMLP asked on 16 Dec 2009, 07:49 PM
Hi,

I have a iframe on my page, and a aspx page gets loaded onto the iframe. Since this aspx page has chart controls that takes quite some time, I would like to show a indication that the page is loading..

In chart control samples, I see a spinning icon in the middle of the chart. How could I do the similiar one?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 17 Dec 2009, 03:42 PM
If you follow the setup in this demo you can achieve this. It basically depends on how long your chart takes to load, but it should show a visual indication of the chart loading.
0
TMLP
Top achievements
Rank 1
answered on 17 Dec 2009, 07:00 PM
Hi Schlurk,

Thanks for the link. It sure did gave me an idea where to start! One question about how AjaxLoadingPanel works..
When does the image gets to appear?
// say <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" /> is already declared somewhere

<
asp:Panel ID="Panel1" runat="server" Height="800px"><tr><td>  
    <asp:Button ID="Button1" runat="server" Text="Click to see the loading image" OnClick="Button1_Click"/> 
    <some chart...> 
</asp:Panel> 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">  
        <asp:Image ID="Image1" runat="server" ImageUrl="~/kk.gif" /> 
</telerik:RadAjaxLoadingPanel> 
From the example, the image shows up when button is clicked. Can only an event from client side trigger image to appear? or Is there a way to show this image while the controls inside Panel is loading?

Thanks..
0
Schlurk
Top achievements
Rank 2
answered on 18 Dec 2009, 02:43 PM
I believe if you use the LoadingPanel any controls inside of it will automatically have that image displayed when the control is loading.
Tags
Chart (Obsolete)
Asked by
TMLP
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
TMLP
Top achievements
Rank 1
Share this question
or