Issue when using ComboBox bound to a DataView with Expression_Dark theme

3 posts, 0 answers
  1. Hugh
    Hugh avatar
    16 posts
    Member since:
    Oct 2011

    Posted 24 Feb 2012 Link to this post

    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. Hugh
    Hugh avatar
    16 posts
    Member since:
    Oct 2011

    Posted 24 Feb 2012 Link to this post

    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. 
  3. DevCraft R3 2016 release webinar banner
  4. Georgi
    Georgi avatar
    344 posts

    Posted 29 Feb 2012 Link to this post

    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.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top