Change Loading Animation

4 posts, 1 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 09 Mar Link to this post

    Hi,

    I'm still on the legacy report viewer and would like to change the loading animation.  I want to use a div based css approach that I am already using on the rest of my site with ajax panels.  

    I have tried to replace the existing content of the wait control with some different html and while that works in code the page itself still shows the original animation with the generating report text.

    var waitControl = document.getElementById('uxReportViewer_ReportArea_WaitControl');
    waitControl.innerHTML = '<table style=\"width: 100%; height: 100%;\"><tbody><tr><td style=\"text-align: center; vertical-align: middle;\"><div class=\"loading-outer\"><div class=\"clear-loading-effect loading-animation-1\"><span></span><span></span><span></span></div></div></td></tr></tbody></table>';

    Any suggestions?

    Regards

    Jon

     

  2. Stef
    Admin
    Stef avatar
    3044 posts

    Posted 10 Mar Link to this post

    Hello Jon,

    Please check the Applying custom skin to the web report viewer code library. It illustrates how the resources of the old ASP.NET WebForms ReportViewer can be updated with custom ones. This includes the Loading.gif image.


    I hope this information is helpful.

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 11 Mar in reply to Stef Link to this post

    Hi Stef,

    Thanks but I'd originally used that to create my toolbar.  What I am after here is a way to get the loading text and animation replaced with my own structure.  

    Any help on that much appreciated

    Regards

    Jon

  5. Answer
    Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 11 Mar in reply to Jon Link to this post

    Hi Stef,

    Not to worry I have solved it using the code I had previously posted.  Not sure why it failed before but it's now working perfectly.

    Regards

    Jon

Back to Top