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

[Solved] RowEditEnded and edit changes

1 Answer 98 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.
joe castle
Top achievements
Rank 1
joe castle asked on 22 Jan 2010, 02:59 PM
Hi,

I receive the new values in the event e.NewData, but is there a way of knowing if some data on that row was changed or not? I didn't find IsDirty or other flags and I don't want to save to db if not necessary.

Thank you,
joe

1 Answer, 1 is accepted

Sort by
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 26 Jan 2010, 03:57 PM
Hi joe castle,

With the latest internal build we introduced a property called "OldValues" of the RowEditEnded event args, which is a Dictionary<string, object> where string is the name of the property and object is the original value (before edit). You can use these values as a workaround, and with some of our next releases we will introduce "IsDirty" or similar property. As soon as this property is available we will make it public via our latest internal build program, so stay tuned.

Greetings,
Nedyalko Nikolov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
joe castle
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or