How to load each panel individually?

2 posts, 0 answers
  1. Frank
    Frank avatar
    24 posts
    Member since:
    Nov 2010

    Posted 02 Dec 2014 Link to this post

    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">
                         <telerik:AjaxUpdatedControl ControlID="panelFoo" />
                        <telerik:AjaxUpdatedControl ControlID="panelBar" />
                        <telerik:AjaxUpdatedControl ControlID="panelMars" />
                        <telerik:AjaxUpdatedControl ControlID="panelSnickers" />

  2. Eyup
    Eyup avatar
    2941 posts

    Posted 05 Dec 2014 Link to this post

    Hello Frank,

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

    Hope this helps.


    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top