Display checked items in combobox

2 posts, 0 answers
  1. Peichung
    Peichung avatar
    37 posts
    Member since:
    Aug 2008

    Posted 31 Oct 2008 Link to this post

    Hi,

    I put a checkbox tree view in a combobox and I would like to see checked items displayed in the combobox's text.  However, with the codes I have, I only get selected item, not checked items:



     
        <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
        <telerik:RadComboBox ID="RadComboBox1" runat="server" Height="200px" AllowCustomText="true" OnClientDropDownClosed="OnDropDownClosed" AutoPostBack="true">  
            <ItemTemplate> 
                <telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="true" TriStateCheckBoxes="true" CheckChildNodes="true" > 
                </telerik:RadTreeView> 
            </ItemTemplate> 
            <Items> 
                <telerik:RadComboBoxItem Text="" Value="" /> 
            </Items> 
        </telerik:RadComboBox> 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
        </form> 
  2. Peichung
    Peichung avatar
    37 posts
    Member since:
    Aug 2008

    Posted 01 Nov 2008 Link to this post

    Problem solved.  Thanks,
Back to Top