R
rlm
I have a gridview updating every 5 seconds. There are several DataKeys
declared which I access successfully in the RowDataBound event. However, in
the ROwCommand event the count of the DataKeys array is zero, and the
SelectedDataKey is null.
Shouldn't the DataKeys be available in the RowCommand event? Is anyone else
accessing them there? Can anyone think of any thing I might be doing which
could cause them to be unavailable in RowCommand even though they are
available in RowDataBound?
Any other thoughts how else I might get the database RID for the row that a
button was clicked on, even though the id is not displayed?
declared which I access successfully in the RowDataBound event. However, in
the ROwCommand event the count of the DataKeys array is zero, and the
SelectedDataKey is null.
Shouldn't the DataKeys be available in the RowCommand event? Is anyone else
accessing them there? Can anyone think of any thing I might be doing which
could cause them to be unavailable in RowCommand even though they are
available in RowDataBound?
Any other thoughts how else I might get the database RID for the row that a
button was clicked on, even though the id is not displayed?