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

RadCombobox - wincontrols

1 Answer 135 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ragupathi
Top achievements
Rank 1
Ragupathi asked on 23 Jul 2008, 11:56 AM
How to bind IDictionary as datasouce for RadCombobox controls. I am getting error like Bad datasource for complex binding

radcombobox1.Datasource = Idictionary object.;
radcombobox1.Displaymember = "Value";
Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 24 Jul 2008, 12:55 PM
Hello Ragupathi,

The exception message is somewhat unclear and we changed it to "Complex DataBinding accepts as a data source either an IList or an IListSource." RadComboBox resembles closely the binding behavior of the .NET 2.0 combo box control, and that is why you are able to bind only descendants of the IList and IListSource interfaces.

Other than that you really need an IList implementation to have successful binding even with our RadGridView control. The other vendors and the .NET 2.0 standard components require IList as well.

All the best,
Dimitar Kapitanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Ragupathi
Top achievements
Rank 1
Answers by
Dimitar Kapitanov
Telerik team
Share this question
or