Soner Gönül
Soner Gönül

Reputation: 98750

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

Upvotes: 3

Views: 9478

Answers (1)

Muhammad Akhtar
Muhammad Akhtar

Reputation: 52241

there is image url property of command field of every action

<asp:CommandField DeleteImageUrl="" />

Upvotes: 1

Related Questions