Hi,
How to get listview data key on button click?
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Mar 27, 2012, 7:40 AM
If you want to Get Data Key value on Click of ImageButton/LinkButton, you can set the DataKey value to CommandArgument property of your control and then in Click handler you can get the value from CommandArgument property .
ImageUrl="~/Images/edit.png">
Thanks