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

Combobox and Checkbox with Webservice

1 Answer 135 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sentil
Top achievements
Rank 1
Sentil asked on 18 Aug 2016, 10:53 AM

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

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 23 Aug 2016, 07:48 AM
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.
Tags
ComboBox
Asked by
Sentil
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or