This question is locked. New answers and comments are not allowed.
Hi,
I have a problem that the action is different between customize GridViewDataColumn and default GridViewDataColumn when I press Esc at editing cell.
for example:
If there are two columns like following source:
A and B both are string.
While I am editing A, I press Esc button once to rollback value of text to OldData.
But while I am editing B, I should press Esc button twice to rollback value of text to OldData.
I think the difference is that I set CellEditTemplate into Column B.
Is there any way to let control do the same action when I press Esc.
Best Regards,
Niwa
I have a problem that the action is different between customize GridViewDataColumn and default GridViewDataColumn when I press Esc at editing cell.
for example:
If there are two columns like following source:
<
telerik:GridViewDataColumn
UniqueName
=
"A"
DataMemberBinding
=
"{Binding A,Mode=OneWay}"
/>
<
telerik:GridViewDataColumn
UniqueName
=
"B"
DataMemberBinding
=
"{Binding B}"
>
<
telerik:GridViewDataColumn.CellEditTemplate
>
<
DataTemplate
>
<
AutoCompleteBox
x:Name
=
"BAutoCompleteBox"
MinimumPrefixLength
=
"1"
FilterMode
=
"Contains"
ValueMemberPath
=
"B"
Text
=
"{Binding Path=B, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
ItemsSource
=
"..."
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellEditTemplate
>
</
telerik:GridViewDataColumn
>
A and B both are string.
While I am editing A, I press Esc button once to rollback value of text to OldData.
But while I am editing B, I should press Esc button twice to rollback value of text to OldData.
I think the difference is that I set CellEditTemplate into Column B.
Is there any way to let control do the same action when I press Esc.
Best Regards,
Niwa