This is a migrated thread and some comments may be shown as answers.

LoadingPanel when switching between MultiPages

1 Answer 71 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
willk
Top achievements
Rank 1
willk asked on 25 Oct 2011, 04:24 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 27 Oct 2011, 09:44 AM
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
Tags
TabStrip
Asked by
willk
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or