Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Putting an Image Gridview Delete Button

I have a simple Gridview with AutogenerateDeleteButton.

enter image description here

I want to put a an recycle bin instead of Delete Hyperlink Button.

For example like this: enter image description here

Every row has to have this image instead of Delete Hyperlink Button.

How can I do that?

This is a perfect example:

enter image description here

like image 738
Soner Gönül Avatar asked Jun 24 '26 14:06

Soner Gönül


1 Answers

there is image url property of command field of every action

<asp:CommandField DeleteImageUrl="" />
like image 57
Muhammad Akhtar Avatar answered Jun 27 '26 04:06

Muhammad Akhtar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!