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

Dynamically Added MultiSelect Combobox

4 Answers 50 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Farrel
Top achievements
Rank 1
Farrel asked on 17 Nov 2014, 10:27 AM
Hi there,

I've made use of the following multi selection combobox - http://www.telerik.com/support/code-library/a-multiselect-combobox.

However, the difference in my implementation is that the control is dynamically added via the code-behind.

My implementation changes are:

- DataTemplates (for SelectionBoxTemplate and ItemTemplate) are stored in XAML page inside the resources.
- Data Binding is done differently, dynamically added to the control when created.

Issues encountered:

- Lag with interaction between control and data binding.
- Unable to programmatically set the display text of the box on a 'dropdownclosed' event

Any help will be appreciated!

4 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 18 Nov 2014, 02:28 PM
Hello Farrel,

I'm afraid that the multiple selection ComboBox scenario is not supported, so the the project you are referring to might misbehave in a specific scenarios. What I can suggest you would to check the AutoCompleteBox control which is designed to support multiple selection and provides many other helpful features. You can find the AutoCompleteBox online demos on the following link:

http://demos.telerik.com/silverlight/#AutoCompleteBox/FirstLook

Hope this helps.

Regards,
Kalin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Farrel
Top achievements
Rank 1
answered on 19 Nov 2014, 06:16 AM
Thank you for replying Kalin!

I will have a look and then feedback / mark your response as an answer!
0
Farrel
Top achievements
Rank 1
answered on 19 Nov 2014, 08:02 AM
Hi there Kalin,

Sadly... the multiple selection option in the AutoCompleteBox is not what I'm after. I'm looking for an implementation where a user can multi select via some checkboxes.
0
Kalin
Telerik team
answered on 19 Nov 2014, 02:40 PM
Hi Farrel,

I'm afraid that currently the AutoCompleteBox control is the only available option as the ComboBox doesn't support multiple selection out of the box and such modifications might lead to unexpected behavior.

If you have any other questions let us know.

Regards,
Kalin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ComboBox
Asked by
Farrel
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Farrel
Top achievements
Rank 1
Share this question
or