Friday, September 26, 2008

How To Replace Text With Image In Custom DataGrid Edit,Delete,Cancel



<asp:EditCommandColumn HeaderText="Edit" HeaderStyle-BackColor="#efeded"


CancelText="<img src='Images/icon_cancel.gif' alt='Cancel' style='border:0px' />"


EditText="<img src='Images/icon_edit.gif' style='border:0px' alt='Edit'/>"


UpdateText="<img src='Images/icon_save.gif' alt='Update' style='border:0px' />">


</asp:EditCommandColumn>


No comments: