I have a RadDataForm on which some DataFormDataField fields seemed to be read-only.
Using Snoop, I discovered that the form's mode is ReadOnly.
Now here's the thing. I had AutoEdit="True" in the xaml. I've tried setting AutoEdit and calling BeginEdit() in the constructor, and in DataContextChanged, both, and neither seems to make any difference. Both in the constructor and in DataContextChanged, CanBeginEdit is false.
What could be going on that would cause CanBeginEdit to be false?
The form is bound to its DataContext, via CurrentItem="{Binding Path=.}"
Using Snoop, I discovered that the form's mode is ReadOnly.
Now here's the thing. I had AutoEdit="True" in the xaml. I've tried setting AutoEdit and calling BeginEdit() in the constructor, and in DataContextChanged, both, and neither seems to make any difference. Both in the constructor and in DataContextChanged, CanBeginEdit is false.
What could be going on that would cause CanBeginEdit to be false?
The form is bound to its DataContext, via CurrentItem="{Binding Path=.}"