RowCommand vs RowEditing

  • Thread starter Thread starter bladethinker
  • Start date Start date
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!
 
Back
Top