ajaxmanger updating items in panelbar

2 posts, 0 answers
  1. lkj lkj
    lkj lkj avatar
    12 posts
    Member since:
    Jan 2010

    Posted 12 Mar 2010 Link to this post


    I have a panelbar in which I have put a combobox and a textbox. I cannot get my ajaxsettings/updatedcontrols to work when they are in the panelbar it works fine when im outside of the panelbar. Im sure its a simple configuratoin that i am missing

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Mar 2010 Link to this post


    It is working as expected when I tried the same scenario in my end. Here is the code that I tried.


        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">  
                        <telerik:AjaxUpdatedControl ControlID="RadPanelBar2" />  
        <telerik:RadPanelBar ID="RadPanelBar2" runat="server">  
                <telerik:RadPanelItem Text="Item1">  
                        <telerik:RadComboBox ID="RadComboBox1" runat="server" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged"  
                                <telerik:RadComboBoxItem Text="1" />  
                                <telerik:RadComboBoxItem Text="2" />  
                        <br />  
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>  


        protected void RadComboBox1_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)  
            RadComboBox combo = (RadComboBox)o;  
            (combo.NamingContainer.FindControl("TextBox1"as TextBox).Text = "Selection Changed";  

    Could you paste the code that you are trying if the scenario is diferent than this?



Back to Top