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
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.