This question is locked. New answers and comments are not allowed.
Hello Telerik,
I've created a behavior which essures that the ComboBox stay open when a key is down.
It works fine, but if the RadComboBox is read-only, the KeyDown event don't trig when the backspace is pressed.
I use RadControl for Silverlight v 2012.1.430.1050 with Visual Studio 2010 and Silverlight 5.
Could you please take a look at this problem ?
Greetings,
Laurent
I've created a behavior which essures that the ComboBox stay open when a key is down.
public
class
ComboListStaysOpenOnEditBehavior : Behavior<RadComboBox> {
protected
override
void
OnAttached() {
this
.AssociatedObject.KeyDown +=
new
KeyEventHandler( OnKeyDown );
}
void
OnKeyDown(
object
sender, KeyEventArgs e ) {
AssociatedObject.IsDropDownOpen =
true
;
}
}
It works fine, but if the RadComboBox is read-only, the KeyDown event don't trig when the backspace is pressed.
I use RadControl for Silverlight v 2012.1.430.1050 with Visual Studio 2010 and Silverlight 5.
Could you please take a look at this problem ?
Greetings,
Laurent