This is a migrated thread and some comments may be shown as answers.

[Solved] values altered after edit?

1 Answer 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 15 Nov 2010, 03:58 PM
Hello,

how can I determine if the values of an edited row have been altered or not? I thought about something like if (e.OldValues == e.NewData) but that does not work.

Thanks,

Martin

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 16 Nov 2010, 06:06 PM
Hello Martin,

Basically, the two arguments - NewData and OldValues are of different types and provide different information during the RowEditEnded event. As the changes are committed during this event, you will not be able to compare the items unless you previously save the pre-edited items and compare the new data with its corresponding one. However, if you share more details about your requirements and project settings, I may be able to provide you with a more appropriate solution. How do you load your data - do you use RIA Services ?
 

Best wishes,
Maya
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
Tags
GridView
Asked by
Martin
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or