RowCommand vs RowEditing

B

bladethinker

Within my gridview, I have an ImageButton whose command="edit" and
argument is set to a record's primary key. I can't decide which
callback method to use to handle the button click.
Within RowCommand I have the command argument, but no access to the
current row index.
Within RowEditing, I do have access to the current row index, but not
the command argument.
I need both the argument and row index. Are we supposed to just
capture the argument in RowCommand, then handle the row index in
RowEditing?
Am I missing an easier way? Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top