This is a migrated thread and some comments may be shown as answers.

Can't access row values

1 Answer 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 20 May 2008, 11:35 PM
I can't seem to get to the DataKey or any Row Values from an ItemCommand event.  Even though I DO have GridCommandEventArgs e, the ROW is NOT selected, the grid is NOT in Edit mode and so the examples dont seem to work.

I merely have a button I want in a grid in each row called Verify and I need to know what DataKey it relates...  The rest of the grid is not editable.

Anyone have any ideas?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 May 2008, 04:28 AM
Hi Rob,

Go through the following help articles.

Retrieving primary key field values for selected items
Accessing cells and rows

Thanks
Shinu
Tags
Grid
Asked by
Rob
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or