DotNet and AJAX
Friday, July 8, 2011
In GridViewDelete Event KEY values are empty
In the DELETEROWEVENT, the values returned is empty, it appears that e.Keys and e.Values are only populated if gridview.IsBoundUsingDataSourceID.
A possible resolution
int
groupId
=
(
int
)
GridView1
.
DataKeys
[
e
.
RowIndex
].
Value
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment