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

MultiItem Selection Not Working

1 Answer 11 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jahangeer
Top achievements
Rank 1
Jahangeer asked on 31 Jul 2015, 01:57 PM

I've a RadComboBox which is filled by a webservice something like this 

   <telerik:RadComboBox   CheckBoxes="true"

                SelectionMode="Multiple" ShowCheckAll="true" ID="WorkStreamID" runat="server"
                Height="100" Width="150" EmptyMessage="Select Team" EnableLoadOnDemand="true"
                WebServiceSettings-UseHttpGet="true"  >
                               <ClientItemTemplate>                                 
                            <b>#= Text # </b>
                            </ClientItemTemplate>
                <WebServiceSettings Method="GetWorkStream" Path="~/ProjectDropDownWebService.asmx" />
            </telerik:RadComboBox>​

and I want to get selected values of this combo inside button submit event 

 

 foreach (RadComboBoxItem item in WorkStreamID.CheckedItems)
        {
            //It never gets in here it says no checked items
        }​

 

I want to get checked items list but its not working.. I think my combo is filled from web service that's causing the problem may be.

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 05 Aug 2015, 08:26 AM
Hello,

CheckBoxes in RadComboBox are not supported when using the Load on Demand feature. The items loaded on demand are not accessible on the server, which is needed for the CheckBoxes to work.

Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ComboBox
Asked by
Jahangeer
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or