Hi for all,
I have some problem with FilteringControl and RadGridView. I should implement this behavior: for example, when user press key 'Enter' on RadGridView's selected row I show message for him. But if user press 'Enter' in FilteringControl I should not do anything. Now it is not so (user press 'Enter' in FiletringControl's TextBox and then he will see message
I have some problem with FilteringControl and RadGridView. I should implement this behavior: for example, when user press key 'Enter' on RadGridView's selected row I show message for him. But if user press 'Enter' in FilteringControl I should not do anything. Now it is not so (user press 'Enter' in FiletringControl's TextBox and then he will see message
"Enter pressed"
). I can not get access to events of FilteringControl to write "e.Handled = true;".<
telerik:RadGridView
HorizontalAlignment
=
"Left"
Name
=
"radGridView"
AutoGenerateColumns
=
"False"
PreviewKeyDown
=
"radGridView_PreviewKeyDown"
VerticalAlignment
=
"Top"
Height
=
"311"
Width
=
"503"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"Name"
DataMemberBinding
=
"{Binding Path=Name, Mode=TwoWay}"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
private
void
radGridView_PreviewKeyDown(
object
sender, KeyEventArgs e)
{
if
(e.Key == Key.Enter)
{
MessageBox.Show(
"Enter pressed"
);
}
}