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

Issue when using ComboBox bound to a DataView with Expression_Dark theme

2 Answers 71 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Hugh
Top achievements
Rank 1
Hugh asked on 24 Feb 2012, 07:53 PM
I've found a strange corner case with the RadComboBox.  I am currently using the most recent controls (RadControls for WPF Q1 2012), but cannot comment on whether this issue existed previously.


The issue occurs in the actual drop down list when you click on the combo box.  All items in the list state "System.Data.DataRowView".  However the actual content seems to be bound properly since if you click on an item, the expected value will actually be selected and properly displayed once the list retracts.

What's most curious about this is that everything works fine using the other themes I've tried (Office_Blue, Office_Black, and Office_Silver), which leads me to believe there is an issue specifically within the Expression_Dark themed template for RadComboBox.


Expression Dark Example

Office Blue Example


As mentioned previously, this only appears to occur when binding to a CollectionViewSource who's source is a DataView.  Is there a workaround to get DataViews working?

2 Answers, 1 is accepted

Sort by
0
Hugh
Top achievements
Rank 1
answered on 24 Feb 2012, 08:36 PM
My coworker suggested a possible workaround would be to set up my own DataTemplate for the RadComboBox.ItemTemplate in the XAML and path out to the appropriate column ... it works.  This seems to confirm my suspicion their is an issue in the control template specifically for Expression_Dark.

Since we only have a couple of combo boxes with the issue at present this isn't a big deal to implement.  Obviously for other users that may have several combo boxes in this configuration, it could be a bit more problematic. 
0
Georgi
Telerik team
answered on 29 Feb 2012, 11:46 AM
Hi Hugh,

We are aware about that issue and it is fixed. You can find the fix in our latest internal build.

Please, don't hesitate to contact us if you have other questions.

Greetings,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ComboBox
Asked by
Hugh
Top achievements
Rank 1
Answers by
Hugh
Top achievements
Rank 1
Georgi
Telerik team
Share this question
or