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

Display checked items in combobox

1 Answer 110 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Peichung
Top achievements
Rank 1
Peichung asked on 31 Oct 2008, 07:09 PM

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> 

1 Answer, 1 is accepted

Sort by
0
Peichung
Top achievements
Rank 1
answered on 01 Nov 2008, 01:44 PM
Problem solved.  Thanks,
Tags
TreeView
Asked by
Peichung
Top achievements
Rank 1
Answers by
Peichung
Top achievements
Rank 1
Share this question
or