Greg Horvath
Top achievements
Rank 1
Greg Horvath
asked on 26 Jan 2015, 10:39 PM
When OnEditEnded is fired the e.OldValue and e.NewValue don't seem to have the correct value. They both always have the old value. I need to be able to see if the value has changed to update the a dirty data flag in my application. Is there any way to do this? Thanks
6 Answers, 1 is accepted
0
Hello,
I have prepared a sample test project, but I did not have any success in reproducing this behavior. I am attaching it for your reference. Can you please confirm whether you can notice any related difference between your approach and mine?
Regards,
Ivan Ivanov
Telerik
I have prepared a sample test project, but I did not have any success in reproducing this behavior. I am attaching it for your reference. Can you please confirm whether you can notice any related difference between your approach and mine?
Regards,
Ivan Ivanov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Greg Horvath
Top achievements
Rank 1
answered on 30 Jan 2015, 02:04 PM
This approach is essentially what I am doing and I am seeing the same behavior in your sample project. I select the first row in the grid view, then go to the Name property in the property grid. I change the value from "Liverpool" to "Test" and in the event handler the old value still says "Liverpool". You can see this in the immediate pane in the screen shot below.
0
Greg Horvath
Top achievements
Rank 1
answered on 30 Jan 2015, 02:06 PM
Looks like my pasted image referenced in last reply did not show up. It is attached.
0
Hi,
Please excuse me for the delayed reply. I am afraid that I am still not able to reproduce the issue. The only approach that results in the same OldValue and NewValue on my side is when the edited property is not changed. I guess that I am missing something, so I am attaching a video.
Regards,
Ivan Ivanov
Telerik
Please excuse me for the delayed reply. I am afraid that I am still not able to reproduce the issue. The only approach that results in the same OldValue and NewValue on my side is when the edited property is not changed. I guess that I am missing something, so I am attaching a video.
Regards,
Ivan Ivanov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Greg Horvath
Top achievements
Rank 1
answered on 04 Feb 2015, 05:36 PM
I noticed from your video that your navigating using the mouse only. E.g. clicking the next cell when you finished editing. The issue appears to only happen if you tab off the current cell being edited.
0
Hi,
You are right. Tabbing out results in raising the event with wrong arguments. I am adding 1000 Telerik points to your account in accordance to this bug report. We will do our best to fix it with the incoming Q1 release.
Regards,
Ivan Ivanov
Telerik
You are right. Tabbing out results in raising the event with wrong arguments. I am adding 1000 Telerik points to your account in accordance to this bug report. We will do our best to fix it with the incoming Q1 release.
Regards,
Ivan Ivanov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.