I'm using XAF to create some applications. I have a problem with this scenario:
- In some ViewController I'm creating a new object (not saving it) and opening it in edit mode.
- After object is created using
var newObject = ObjectSpace.CreateObject<MasterType>()
I fill its details using:
newObject.Details = new List<Details>() {new Detail(), new Detail, new Detail()};
- When the form opens in te web everything seems greate, but when I click one of detail items on the grid to open for edit, this error appears:
Message: An error with number 1007 has occurred. Error message: Unable to execute disabled or inactive action ListViewShowObject. Disable reasons: Requires a single object selected.