Hi,
i've got the problem where the user is typing some data in a cell and then clicks the save-button. While the cell stays in EditMode, the value will not be updated and in this case the value will not be saved.
Is there any possibility to change the value of a databound property on typing, so that the user can type something and then click save, and the value would be saved?
thanks
Alexander Kant
Hello Alexander,
Thank you for your post. I have been looking through it and I suggest you see the following forum thread:
http://community.infragistics.com/forums/p/57486/293270.aspx#293270
which discusses the same issue as yours. Please let me know if this is what you want to achieve or I have misunderstood you.
Looking forward for your reply.
Hello Stefan,
i tried this solution already, but the behaviour is still the same. Maybe i did a mistake, executing CommitChangesToActiveRecord-Command at the wrong time or something. Here is my code:
// register on ValueEditor.ValueChanged EventEventManager.RegisterClassHandler(typeof(ValueEditor), ValueEditor.ValueChangedEvent, new RoutedPropertyChangedEventHandler<object>(OnValueChanged));
// set the UpdateMode to OnUpdateUpdateMode = UpdateMode.OnUpdate; // executing CommitChangesTiActiveRecord command on value changedprivate void OnValueChanged(object sender, RoutedPropertyChangedEventArgs<object> e) { this.ExecuteCommand(DataPresenterCommands.CommitChangesToActiveRecord); }Thanks, Alexander