xaf devexpress controls are disabled in DetailView

1.1k views Asked by At

I'm viewing a DetailView when I click a button. My problem is I can't write anything to controls, they are disabled although I did:

view.ViewEditMode = ViewEditMode.Edit;
view.Model.AllowEdit = true;

that. What could be the cause?

1

There are 1 answers

0
Kirsten On

The value for the particular view could have been modified in the module model.DesignedDiffs.xafml, or the same named file in the Web or Win module or in the Web or Win xafml module.

Start with the most descendant version, and check the properties for the view, and work back to the module's xafml.