indication while loading reports..

Thread is closed for posting
4 posts, 0 answers
  1. TMLP
    TMLP avatar
    38 posts
    Member since:
    Jul 2009

    Posted 16 Dec 2009 Link to this post

    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.
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 17 Dec 2009 Link to this post

    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.
  3. TMLP
    TMLP avatar
    38 posts
    Member since:
    Jul 2009

    Posted 17 Dec 2009 Link to this post

    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..
  4. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 18 Dec 2009 Link to this post

    I believe if you use the LoadingPanel any controls inside of it will automatically have that image displayed when the control is loading.
Back to Top