LoadingPanel when switching between MultiPages

2 posts, 0 answers
  1. willk
    willk avatar
    17 posts
    Member since:
    May 2007

    Posted 24 Oct 2011 Link to this post

    Hi All,

    Should be the most obvious thing in the world, but I'm failing miserably to find any documentation telling me how to do this.
    I have a RadTabStrip which is connected to a RadMultiPage with 4 page views (each page view has a contenturl associated with it).
    I've got a RadAjaxLoadingPanel and have set the RadAjaxManager to this:

     <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>                       
            </AjaxSettings>
     </telerik:RadAjaxManager>

    This displays the LoadingPanel briefly then it disappears and I'm left with a blank area (MultiPage) until the contenturl has loaded. Obviously the desired behaviour would be to display the LoadingPanel until the contenturl page has completed loading.
    Any help with this would be appreciated. I thought about manually invoking the LoadingPanel but I can't work out how to detect and passback when the contentURL page has completed loading? (not the contenturl is another page in the project not an external url).

    Cheers,
    - Will Kruss
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 27 Oct 2011 Link to this post

    Hi Willk,

    When the ContentUrl property is used, the content of the pageview is loaded via get request to the address defined in the property. This is similar to a link pointing to a CSS file.

    This is not an Ajax request and therefore you could not show a loading panel using  the RadAjaxLoadingPanel.

    Regards,
    Dimitar Terziev
    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