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

How to load each panel individually?

1 Answer 32 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 02 Dec 2014, 09:02 AM
I have 3 panels on my page, which I want to load individually with a loadingPanel for each item individually.
How can I achieve this, as you can only have one RadAjaxManager?

I currently have this, but this will show a loading-icon at the same time in all the panels and they are executed at the same time:
 <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                     <telerik:AjaxUpdatedControl ControlID="panelFoo" />
                    <telerik:AjaxUpdatedControl ControlID="panelBar" />
                    <telerik:AjaxUpdatedControl ControlID="panelMars" />
                    <telerik:AjaxUpdatedControl ControlID="panelSnickers" />
                 </UpdatedControls>
</telerik:AjaxSetting>

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 05 Dec 2014, 08:59 AM
Hello Frank,

You should add the panels in separate AjaxSetting tag:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="LoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Panel1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="Panel2">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel2" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Ajax
Asked by
Frank
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or