Access to all GridEditableItem elements in RadGrid

I intercept an update operation for RadGrid. like this

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

This gives me changed values ​​in a HashTable. The problem is that I want to access all the elements of the current row. How to do it

+3
source share
1 answer

If you replace

item.ExtractValues(dictionary);

from

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

You must have all the elements in the dictionary.

+8
source

Source: https://habr.com/ru/post/1706376/


All Articles