Reputation: 37
On Creating the new object and after "Save and Close" action, its not showing the object created as the focused object in the list view when i change the DataAccessMode to Server.
Upvotes: 0
Views: 1168
Reputation: 11326
As with all things DevExpress, the best place to look is their support forum. There are at least a couple of helpful answers there here and here.
As Dennis explains:
Subscribe to the
NewObjectViewController.ObjectCreated
event and in its event handler, subscribe to theargs.ObjectSpace.Committed
event. In the Committed event handler, you can set theListView.CurrentObject
property to the object remembered on the previous step (args.CreatedObject
).
Upvotes: 0