we have set the property DetailView.RaiseObjectChangedOnControlValueChanged to false in our application. This has worked as desired.
Now we are using the new feature ObjectSpace.NonPersistentChangesEnabled = false as proposed in issue S34863. But both features do no work in combination. The ObjectSpace will be marked modified even if a nonpersistent property has changed.
Please see methods ObjectSpace.SetModified(Object obj, ObjectChangedEventArgs args) and DetailView.editor_ControlValueChanged(Object sender, EventArgs e) for details.
The problem could be solved for example if you add a property IMemberInfo memberInfo in addition to the simple property string PropertyName in class ObjectChangedEventArgs. Then all required information would be available in method ObjectSpace.SetModified(Object obj, ObjectChangedEventArgs args).
Thanks,
Kim
======== Changed On: '2/16/2012 1:08:54 PM', Changed By: 'Developer Express Support Team' ========
Hi Kim,
We are working on your issue and will answer you as soon as possible. We are sorry for the delay.
Thanks,
Michael.
-----------------
Steps to Reproduce:
Run the project.
Open the Payment list view.
In the detail view change the non-persistent Hours property and click another list view row.
Actual Results:
The confirmation dialig is shown (becaue the object is marked as modiifed).
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
With v19.2.1, we set the DetailView.RaiseObjectChangedOnControlValueChanged property value to false by default. Refer to the Core - The IObjectSpace.ObjectChanged event is not raised in response to the editor's ControlValueChanged event ticket for details.