Combobox and Checkbox with Webservice

2 posts, 1 answers
  1. Sentil
    Sentil avatar
    23 posts
    Member since:
    Jul 2011

    Posted 18 Aug Link to this post

    Hi

    In below link, we can see combo-box with  checkbox.

    http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx

    When Page load i will use loop to mark selected items like below

    RadComboBoxItem item = ComboBox.FindItemByValue(myValue);
     if (item != null)
     {          item.Checked = true;          }

    My Requirement:

    Use ComboBox - Load on Demand Modes and use web service to load data

    When Page load, how to show items initially (if it is a web service call)?

    Can we do this? as in my project, i have userlist in drop down as webservice (normal combo box) and i need to change with combobox with checkbox functionality

    Senthil

     

  2. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 23 Aug Link to this post

    Hello Senthil,

    These two ComboBox functionalities (Loading items on Demand using a web service and CheckBox support) are incompatible with one another. The reason why using these features together is not supported is explained in the CheckBox Support documentation article. Furthermore, since items loaded on demand are not accessible on the server, the ComboBox FindItemByValue or FindItemByText methods cannot be used in this scenario (more information available in this article). 

    Regards,
    Ivan Danchev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top