RadAjaxManager causes RadTreeView not to fire.

2 posts, 0 answers
  1. Diorelle
    Diorelle avatar
    1 posts
    Member since:
    Dec 2010

    Posted 07 Feb 2011 Link to this post


    I am having some issues with getting the RadTreeView and RadAjaxManager to work. After the page loads for the first time, I am still able to collapse/expand the RadTreeView that I've added on the page. As soon as I select and item from the dropdownlist to update the RadTreeView, it no longer allows me to expand/collapse or even click the the nodes. I don't get any errors either.

    Note that the code below is inside a ".ascx" file which will be used as a SharePoint webpart. I am currently using VS2010, .NET Framework 3.5, MOSS 2007.

    Please help.

    Thank you so much!

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
            <telerik:AjaxSetting AjaxControlID="dropdownlist1" EventName="onselectedindexchanged">
                    <telerik:AjaxUpdatedControl ControlID = "RadTreeView1" />
    <telerik:RadTreeView ID="RadTreeView1" runat="server">
                <telerik:RadTreeNode runat="server" Text="Root RadTreeNode1">
                        <telerik:RadTreeNode runat="server" Text="Child RadTreeNode 1">
                        <telerik:RadTreeNode runat="server" Text="Child RadTreeNode 2">
                <telerik:RadTreeNode runat="server" Text="Root RadTreeNode2">
    <asp:DropDownList ID="drpTaxonomyType" runat="server"
            <asp:ListItem Selected="True">Choose One</asp:ListItem>
            <asp:ListItem>Practice Areas</asp:ListItem>

    Master page:
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 10 Feb 2011 Link to this post

    Hi Diorelle,

    Could you please add a setting in the RadAjaxManager in which the RadTreeView updates itself and verify if this makes any difference. Like this:
            <telerik:AjaxSetting AjaxControlID="RadTreeView1" >            
                    <telerik:AjaxUpdatedControl ControlID = "RadTreeView1" />

    Best wishes,
    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top