AJAXManager, RadComboBox, and RadTreeview

2 posts, 0 answers
  1. John Snyder
    John Snyder avatar
    43 posts
    Member since:
    Mar 2006

    Posted 02 Jan 2008 Link to this post

    I have a combobox that uses a treeview for it's item selection.  Upon selection of an item in the treeview I want to do some server side processing. At the same time, I want all this ajaxified and thus I am using RadAjaxManager.

    What AjaxControlID do I put in for the AjaxManager to allow for the updates to work properly?  If I do not put anything in the AjaxManager it will work without a postback so I know that code is correct.  I tried adding in the RadComboBox1 as the AjaxControlID and that gives me a JS error of "Unknown runtime error".

    Here is the code for my AjaxManager:
        <telerik:RadAjaxManager id="RadAjaxManager1" runat="server">  
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">  
                        <telerik:AjaxUpdatedControl ControlID="trActions" />  
                        <telerik:AjaxUpdatedControl ControlID="trDocuments" />  
                <telerik:AjaxSetting AjaxControlID="lbCloseDocument">  
                        <telerik:AjaxUpdatedControl ControlID="trActions" />  
                        <telerik:AjaxUpdatedControl ControlID="trDocuments" />  

    Here is the code for my combobox:
    <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="215px" Skin="Outlook">  
            <telerik:RadTreeView ID="RadTreeView1" runat="server" Height="200" OnNodeClick="RadTreeView1_NodeClick">  
                    <telerik:RadTreeNode runat="Server" Text="First Doc" Value="/files/First.pdf" />  
                    <telerik:RadTreeNode runat="Server" Text="Second Doc" Value="/files/Second.pdf" />  
                    <telerik:RadTreeNode runat="Server" Text="Third Doc" Value="/files/Third.pdf" />  
                    <telerik:RadTreeNode runat="Server" Text="Category 1">  
                            <telerik:RadTreeNode runat="Server" Text="Doc 1" />  
                            <telerik:RadTreeNode runat="Server" Text="Doc 2" />  
                            <telerik:RadTreeNode runat="Server" Text="Doc 3" />  
                    <telerik:RadTreeNode runat="Server" Text="Category 2">  
                            <telerik:RadTreeNode runat="Server" Text="Doc 4" />  
                            <telerik:RadTreeNode runat="Server" Text="Doc 5" />  
                            <telerik:RadTreeNode runat="Server" Text="Doc 6" />  
            <telerik:RadComboBoxItem Text="" />  
  2. Nikolay
    Nikolay avatar
    3997 posts

    Posted 04 Jan 2008 Link to this post

    Hi Dustin DeFoe,

    We tested your approach locally and there were certain problems with it. We will greatly appreciate a sample project of yours to test and debug at our side. This will help us pinpoint the exact source of the problem.

    Please open a new support ticket and attach the files there. We will test them locally and try to find a working solution for you.

    Thanks for your time and cooperation.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top