MultiItem Selection Not Working

2 posts, 0 answers
  1. Jahangeer
    Jahangeer avatar
    19 posts
    Member since:
    Apr 2013

    Posted 31 Jul 2015 Link to this post

    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.

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 05 Aug 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top