【问题标题】:Accessing all elements of a GridEditableItem in RadGrid访问 RadGrid 中 GridEditableItem 的所有元素
【发布时间】:2010-10-19 07:42:54
【问题描述】:

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

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

这为我提供了 HashTable 中的更改值。问题是我想访问当前行的所有元素。我该怎么做

【问题讨论】:

    标签: asp.net telerik radgrid


    【解决方案1】:

    如果你替换

    item.ExtractValues(dictionary);

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

    您应该拥有字典中的所有元素。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-23
      • 1970-01-01
      • 2019-09-01
      • 2021-06-01
      • 2018-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多