Hello
I have a grid that when i click on a item to edit it I try get the datakeyvalue from that item but it always just gets the first item on the list.
So i had a look in the grid.Items and found out that if i have data eg.
column1 column2
1 test1
2 test2
3 test3
4 test4
in my grid and i click on my edit button on the test3 row or whichever row then go look in the grid.items
It will change the item to the first item eg
In the grid.Items
Index DataKeyValue
1 1
2 2
3 1(my row i click on)
4 4
Anyone ever had this any suggestions
thanks
I have a grid that when i click on a item to edit it I try get the datakeyvalue from that item but it always just gets the first item on the list.
So i had a look in the grid.Items and found out that if i have data eg.
column1 column2
1 test1
2 test2
3 test3
4 test4
in my grid and i click on my edit button on the test3 row or whichever row then go look in the grid.items
It will change the item to the first item eg
In the grid.Items
Index DataKeyValue
1 1
2 2
3 1(my row i click on)
4 4
Anyone ever had this any suggestions
thanks