Hey,
in a regular gridview I can easily get the number of the row which was selected.
somehow, I can't get it in a radGrid.
I tried:
but I keep getting excaption:
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
Can anyone point out this code?
Thx
in a regular gridview I can easily get the number of the row which was selected.
dataGridView1.Rows[0].Selected = true;
somehow, I can't get it in a radGrid.
I tried:
string selectedValue = (RadGrid1.SelectedItems[0] as GridDataItem)["users"].Text;
but I keep getting excaption:
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
Can anyone point out this code?
Thx