collection of the SelectionChangeEventArgs
returns a collection of objects (single object if SelectionMode
) of the type of the bound collection. In this case, I assume your ItemsSource
consists of objects of type ServiceTraceWatchListData
and thus calling the ToString() method, produces the described result.
If you have set RadGridView's SelectionUnit
, you can get the value of the field for the last selected cell by handling the SelectedCellsChanged
event like so:
sender, GridViewSelectedCellsChangedEventArgs e)
var cell = e.AddedCells;
var field = cell.Item.GetType().GetProperty(cell.Column.UniqueName).GetValue(cell.Item,
Please let me know whether such an approach would work for you.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.