LoadingPanel Issue

7 posts, 0 answers
  1. Karthik Kantharaj
    Karthik Kantharaj avatar
    101 posts
    Member since:
    Mar 2010

    Posted 20 Mar 2012 Link to this post

    Hi Guys

    Below is my code
    My loading panel is not working
    Can you guys correct me where i did mistake

    <script type="text/javascript">
                function showLoader() {
                    var loadingPanel = $find('<%=loadingPanel.ClientID %>')
                    var form = '<%=form.ClientID %>';
                    loadingPanel.show(form);
                }           
     </script>

    <telerik:RadAjaxLoadingPanel ID="loadingPanel" runat="server" Skin="Vista">
        </telerik:RadAjaxLoadingPanel>  
     
    <asp:Button ID="uploadAction" CommandName="upload" OnClientClick="showLoader();" Text="{:Upload}" runat="server"></asp:Button>

    Karthik.K
  2. Miriam
    Miriam avatar
    9 posts
    Member since:
    Jul 2012

    Posted 20 Mar 2012 Link to this post

    On your line of code:    var form = '<%=form.ClientID %>';

    I think you're missing the $find method:    var form = $find( '<%=form.ClientID %>');
  3. Miriam
    Miriam avatar
    9 posts
    Member since:
    Jul 2012
  4. Karthik Kantharaj
    Karthik Kantharaj avatar
    101 posts
    Member since:
    Mar 2010

    Posted 28 Mar 2012 Link to this post

    Hi Guys,

    Thanks for your reply
    I dont want any ajax code
    i just need a loader image when a button is clicked
    and but in this ajax process is happening

    Can i get for my requirement in Telerik loading panel?

    Karthik.K

  5. Karthik Kantharaj
    Karthik Kantharaj avatar
    101 posts
    Member since:
    Mar 2010

    Posted 28 Mar 2012 Link to this post

    Hi Guys

    I completed my requirement

    Karthik.K
  6. Eyup
    Admin
    Eyup avatar
    3988 posts

    Posted 29 Mar 2012 Link to this post

    Hi Karthik,

    I'm glad you solved the issue. You can share your approach if you want.
    For more information about  displaying the loading panel explicitly, please refer to this article.

    All the best,
    Eyup
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Karthik Kantharaj
    Karthik Kantharaj avatar
    101 posts
    Member since:
    Mar 2010

    Posted 30 Mar 2012 Link to this post

    HI Eyup ,

    My requirement was to show loader image during upload and i saw in some post (Telerik Forum) that when uploading it is not possible for loading panel to show up
    (If you see below line i upload a file and use telerik upload)

    <asp:Button ID="uploadAction" CommandName="upload" OnClientClick="showLoader();" Text="{:Upload}" runat="server"></asp:Button>

    So i used a image and when upload button is clicked i showed the image and after loading i removed the image

    I got all telerik image from below link

    http://www.roostaa.ir/news/images/TelerikImages/

    Thanks for all spending your precious time

    Karthik.K
Back to Top