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

Hi,

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

Regards,

>-----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.
>
>Regards
>Amol
>
>
>.
>



Relevant Pages

  • Editing records in Datagrid with customized button.
    ... I am using datagrid to edit records in it. ... I am using <asp:editcommandcokumn> to edit a particular record. ... This Edit command column has buttontype property which has linkbutton or pushbutton as values. ...
    (microsoft.public.cert.exam.mcad)
  • Cannot disable requiredfieldvalidator in datagrid
    ... EditItemTemplate is used to edit a row in the look-up-table with textboxes. ... associated with a group of validators. ... When clicking the 'Edit' linkbutton in anyrow, ... But when the page is rendered in the client after the postback ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RequiredFieldValidator: cannot disable/set invisible in datagrid
    ... EditItemTemplate is used to edit a row in the look-up-table with textboxes. ... associated with a group of validators. ... When clicking the 'Edit' linkbutton in anyrow, ... But when the page is rendered in the client after the postback ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: CancelCommand Not Firing!
    ... Although you aren't explicitly using linkButton, ... >CancelCommand event. ... >> button, it only gives Edit. ... >> (selectedItem, SortCommand are not affected). ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: Random, Random Numbers
    ... On your form you have a pushbutton and an edit. ... %store random number in edit ... P.S rand function generates only numbers comprised in interval ...
    (comp.soft-sys.matlab)