Editing records in Datagrid with customized button.

From: rh (anonymous_at_discussions.microsoft.com)
Date: 02/19/04

Date: Thu, 19 Feb 2004 02:59:46 -0800


   You are in the wrong place. You should post this
message in www.asp.net forum. This newsgroups for only
Here is the answers for you.
UpdateText ="<img src='../Revise.gif' border='0'
Instead of your's UpdateText="Revise"


>-----Original Message-----
>Dear friends,
>I have following problem.
>I am using datagrid to edit records in it. I am using
<asp:editcommandcokumn> to edit a particular record.
>code is as follows.
><asp:EditCommandColumn ButtonType="LinkButton"
UpdateText="Revise" CancelText="Cancel" EditText="Edit"
ItemStyle-width="131" ItemStyle-VerticalAlign="Top">
>This Edit command column has buttontype property which
has linkbutton or pushbutton as values. Linkbutton will
have a link and pushbutton will have a normal button.
>Now the problem is I want to use other button(.gif image)
other than linkbutton and pushbutton for editing records.
How to do this?
>Please help.