forum

Home / DeveloperSection / Forums / Gridview show edit button

Gridview show edit button

Anonymous User187523-Aug-2014

I’m having some issues with the edit button inside a gridview. When you click edit in the gridview, the cancel button gets the same css class as the edit button. So my cancel button gets the same edit icon.

I want to change this so that the cancel button gets a different css-class. So I can give it the right icon instead of an edit icon

<asp:CommandField ShowEditButton="True" ButtonType="Button" ControlStyle-CssClass="edit-sprite"></asp:CommandField>


Updated on 23-Aug-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By