I have a RadDataForm synced with a RadGridView. I have AutoCommit=False set on the form, yet when I click away from the form onto the grid, the data commits. What's the correct way to prevent committing the dataform when it loses focus? Am I missing a commit setting on the GridView? To complicate issues, I have another GridView embedded in the dataform so I can't simply check if the primary GridView has focus (like so):
public
void
Device_LostFocus(
object
sender, RoutedEventArgs e)
{
if
(FocusManager.GetFocusedElement()
is
RadGridView)
{
(sender
as
RadDataForm).CancelEdit();
Refresh_Devices();
}
}