Как я могу получить значение определенного столбца в RadGrid при событии DeleteCommand? Я пробовал эти способы, но все они возвращают пустые значения:
GridDataItem da = e.Item as GridDataItem;
string name = da["materialName"].Text;
or
name = RadGrid1.Items[e.Item.ItemIndex]["materialName"].Text;
or
name = RadGrid1.MasterTableView.Items[e.Item.ItemIndex]["materialName"].Text;
or
name = RadGrid1.MasterTableView.Items[e.Item.RowIndex]["materialName"].Text;