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

default text and value

3 Answers 54 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 28 Jun 2013, 09:39 AM
hello,
I load the data in combo with a webservice, you can view the default text in a combo and its value?

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 02 Jul 2013, 10:57 AM
Hello,

Since you are using web service to populate the RadComboBox control I assume that you have enabled the LoadOnDemand functionality. I would like to clarify that  in such case the DefaultItem is not applicable. Please review the following help article for more information. 

Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Fabio Cirillo
Top achievements
Rank 1
answered on 02 Jul 2013, 11:21 AM
OK I understand, however if you load the data with an arraylist or a simple databindig, I can handle the DefaultItem.

0
Boyan Dimitrov
Telerik team
answered on 04 Jul 2013, 03:27 PM
Hello,

I would like to clarify that DefaultItem is applicable as long as your RadComboBox control is read-only. In other words if AllowCustomText property is set to true the DefaultItem will not be shown. I would like note the the DefaultItem is not applicable with LoadOnDemand functionality since then the AllowCustomText property is set to true by default.


Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
ComboBox
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Fabio Cirillo
Top achievements
Rank 1
Share this question
or