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

[Solved] RadTreeView with RadAjaxManager

1 Answer 211 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Preetam Ray
Top achievements
Rank 1
Preetam Ray asked on 09 Feb 2010, 07:47 PM
I am trying to use both RadTreeView and RadAjaxManager in the same user control. When i comment out the RadAjaxManager code which has a RadLoadingPanel associated with it the treeview works but does not work in the other case. I am basically trying to show a loading image similar to the spin which is available as default.
Am i missing something?
  <telerik:RadTreeview id="rTreeView" EnableViewState="false" runat="server" ></telerik:RadTreeview>

<telerik:RadAjaxLoadingPanel height="30" width="100" isSticky="true" id="loadingPanel" runat="server" Skin="" style="position:absolute;">
        <asp:Image id="loadingImg" runat="server" ImageUrl="/_layouts/images/factiva/loading.gif" AlternateText="Loading..." BorderWidth="0"></asp:Image>
    </telerik:RadAjaxLoadingPanel>

<telerik:RadAjaxManager ID="rAjaxManager" runat="server">
   <AjaxSettings>
       <telerik:AjaxSetting AjaxControlID="inclBranch">
           <UpdatedControls>
               <telerik:AjaxUpdatedControl ControlID="rTreeView" LoadingPanelID="loadingPanel" />
           </UpdatedControls>
       </telerik:AjaxSetting>
   </AjaxSettings>
</telerik:RadAjaxManager>




1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 10 Feb 2010, 12:41 PM
Hi Preetam,

If you are using AjaxManager in main page, then it is recommended to use RadAjaxManagerProxy inside the WebUserControl and configured it the same way as the AjaxManager.
Checkout the following link to know more about this:
RadAjax and WebUserControls

Thanks,
Princy.
Tags
TreeView
Asked by
Preetam Ray
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or