Status Bar Loading Indicator

2 posts, 0 answers
  1. Xorcist
    Xorcist avatar
    92 posts
    Member since:
    Apr 2009

    Posted 27 Feb 2013 Link to this post

    When an iFrame is used to load RadWindow content, the status bar shows a loading indicator until the content is displayed. Is there any way to manually show this GIF in the for custom operations... like an AJAX transaction? There are times I auto-load data at intervals and don't want to lock down the entire RadWindow, but I do want a nice common place to show some operation is going on (and the status bar seems like a great place to do this). Any help would be appreciated.
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 28 Feb 2013 Link to this post

    Hello,

    You can get a reference to the RadWindow from the page inside and call its _onWindowUrlChanging() and _onWindowUrlChanged() to show and hide the loading sign. If a full postback occurs the iframe's load event will fire and the loading sign will hide automatically. Otherwise you would need to hide it with your own code. You can find attached a simple example that uses buttons, in your actual case you should use the appropriate events (e.g. the PageRequestManager's beginRequest and endRequest).


    Greetings,
    Marin Bratanov
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top