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

Treeview in a combo box, how to show all selected in combo text area

2 Answers 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 13 Apr 2016, 10:37 AM

Hi

In a std combo box with check boxes as you select a few items the text value appears in the combobox text area, until its full then is says n selected.

I have a treeview in a combo box, with check boxes, how would I replicated this behaviour?

Andy

2 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 18 Apr 2016, 07:12 AM
Hi Andy,

Our RadComboBox control does not offer the desired behavior out-of-the-box.

However, you could review the checkbox functionality of our RadDropDownTree control and see if it fits your needs. You could customize the input field text by handling the OnClientEntryAdded event. You could calculate the length of the entries text and set it in the input field in the "n selected" format if it exceeds certain max length.

If the RadDropDownTree control does not meet your requirements, please give us some more details on the desired implementation of the RadTreeView within a RadComboBox. Do you need the tree to be an ItemTemplate within the combo or something else?

Regards,
Veselin Tsvetanov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Andy Green
Top achievements
Rank 2
answered on 20 Apr 2016, 09:57 AM

Hi, Thank you the RadDropDownTree works as I need.

Andy

Tags
TreeView
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Veselin Tsvetanov
Telerik team
Andy Green
Top achievements
Rank 2
Share this question
or