This question is locked. New answers and comments are not allowed.
Hi,
I am getting a NullReferenceException with the new Version of your Controls 2014Q2.
The Exception is thrown in OnIsHighlightedChanged of the RadComboBoxItem.
I was able to workaround it like this:
public class BDLComboBoxItem : RadComboBoxItem
{
public BDLComboBoxItem()
{ }
protected override void OnIsHighlightedChanged(bool oldValue, bool newValue)
{
try
{
base.OnIsHighlightedChanged(oldValue, newValue);
}
catch (System.Exception)
{
// TG: Workaround für Bug in RadComboBoxItem -> NullReference Excepetion
}
}
}
And override the RadComboBox with this:
protected override DependencyObject GetContainerForItemOverride()
{
return new BDLComboBoxItem();
}
This is a new Bug, we only have this problem with the new release.
Best Regards
Matthias