Hi all,
I'm building a ComboBox extension (based on RadComboBox v3) that will allow users to set the content of the combo box with all the items of a enumeration (any enumeration).
All is fine, except in one detail, after the 1st selection, the value appears empty (text field in the combobox).
If I use windows combo box this works correctly.
I'm sending you a solution with just the code used to demonstrate this. Could you please tell if there's a workaround for this?
Thanks ahead for all the help,
L. Pinho
Here's the vs2008 solution: Solution
I'm building a ComboBox extension (based on RadComboBox v3) that will allow users to set the content of the combo box with all the items of a enumeration (any enumeration).
All is fine, except in one detail, after the 1st selection, the value appears empty (text field in the combobox).
If I use windows combo box this works correctly.
I'm sending you a solution with just the code used to demonstrate this. Could you please tell if there's a workaround for this?
Thanks ahead for all the help,
L. Pinho
Here's the vs2008 solution: Solution
5 Answers, 1 is accepted
0
hwsoderlund
Top achievements
Rank 1
answered on 12 Jun 2009, 07:24 AM
I've posted previously about a similar problem, maybe the info there can help you:
http://www.telerik.com/community/forums/silverlight/combobox/selectionboxitemtemplate-is-sometimes-applied-too-late.aspx
http://www.telerik.com/community/forums/silverlight/combobox/selectionboxitemtemplate-is-sometimes-applied-too-late.aspx
0
Accepted
Hi guys,
I tested the application, the problem is different than the one Henrik described in the other thread. I guess it is related to the code of the inherited combo, but I didn't debugged that much to find the real problem. I just blogged about displaying enum values in a combo box, my approach is a lot simpler, I hope it helps:
http://blogs.telerik.com/valerihristov/posts/09-06-12/binding_a_combobox_to_enum_values_with_radcontrols_for_silverlight.aspx
Best wishes,
Valeri Hristov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I tested the application, the problem is different than the one Henrik described in the other thread. I guess it is related to the code of the inherited combo, but I didn't debugged that much to find the real problem. I just blogged about displaying enum values in a combo box, my approach is a lot simpler, I hope it helps:
http://blogs.telerik.com/valerihristov/posts/09-06-12/binding_a_combobox_to_enum_values_with_radcontrols_for_silverlight.aspx
Best wishes,
Valeri Hristov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pinho
Top achievements
Rank 1
answered on 12 Jun 2009, 07:54 PM
I will try it your way,
thanks
thanks
0
Hi Luis,
Let me know how it goes.
All the best,
Valeri Hristov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Let me know how it goes.
All the best,
Valeri Hristov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pinho
Top achievements
Rank 1
answered on 19 Jun 2009, 06:50 PM
Hi Valeri,
thanks again. After some adjustments everything works like it suppose to.
Thanks again,
L. Pinho
thanks again. After some adjustments everything works like it suppose to.
Thanks again,
L. Pinho