Client-Side Loading Icon

3 posts, 0 answers
  1. digitall
    digitall avatar
    169 posts
    Member since:
    Jun 2006

    Posted 25 Apr 2011 Link to this post

    I have a treeview that expands with a ServerSideCallBack on certain nodes and shows the icon I setup inside <LoadingStatusTemplate>. Is there a client-side function I can call on a node that would show/hide this on demand? Something like "node.showLoading();" or "node.hideLoading();"?
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 28 Apr 2011 Link to this post

    Hello digitall,

    Unfortunately we do not currently support the functionality that you mention in the forum thread. However, I will address your suggestion to our development team for a future consideration.

    All the best,
    Kate
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. digitall
    digitall avatar
    169 posts
    Member since:
    Jun 2006

    Posted 28 Apr 2011 Link to this post

    I was able to find a workaround for this by using the showLoadingStatus method you expose and just forcing it to show an image:

    function showNodeLoading(node) {
        var loadingImage = '<img src=\'/_assets/images/ajax-loader-small.gif\' alt=\'Loading..\' style=\'padding-left: 2px;\' />';
        if (node != null)
            node.showLoadingStatus(loadingImage, Telerik.Web.UI.TreeViewLoadingStatusPosition.AfterNodeText);
    }
Back to Top