访问RadGrid中GridEditableItem的所有元素

Mid*_*hat 3 asp.net telerik radgrid

我正在拦截RadGrid的更新操作.像这样

e.Canceled = true;
GridEditableItem item = e.Item as GridEditableItem;
Hashtable dictionary = new Hashtable();
item.ExtractValues(dictionary);
Run Code Online (Sandbox Code Playgroud)

这给了我HashTable中更改的值.问题是我想访问当前行的所有元素.我怎么做

小智 8

如果你更换

item.ExtractValues(dictionary);

e.Item.OwnerTableView.ExtractValuesFromItem(dictionary,item);
Run Code Online (Sandbox Code Playgroud)

你应该拥有字典中的所有元素.