Question

I am intercepting the update operation for a RadGrid. like this

e.Canceled = true;
GridEditableItem item = e.Item as GridEditableItem;
Hashtable dictionary = new Hashtable();
item.ExtractValues(dictionary);

This gives me the changed values in the HashTable. The problem is I want to access ALL the elements of the current row. How do i do that

Was it helpful?

Solution

If you replace

item.ExtractValues(dictionary);

with

e.Item.OwnerTableView.ExtractValuesFromItem(dictionary,item);

you should have all the elements in the dictionary.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top