How to put gif file in Data grid......

Discussion in 'ASP .Net' started by Gill Smith, May 29, 2004.

  1. Gill Smith

    Gill Smith Guest

    I have used hyper link in the datagrid cell wherein user can delete the row
    by clicking on it. How to replace this hyperlink with image in these cell ?
    Gish
     
    Gill Smith, May 29, 2004
    #1
    1. Advertisements

  2. Gill Smith

    Joe Fallon Guest

    You can use a Template column instead of a Bound column:

    <asp:TemplateColumn HeaderText="Delete">
    <ItemTemplate>
    <asp:Hyperlink id=Hyperlink2 runat="server" ToolTip="Delete"
    ImageUrl="/myApp/img/Delete.gif"
    NavigateUrl='Delete'>
    </asp:Hyperlink>
    </ItemTemplate>
    </asp:TemplateColumn>

    --
    Joe Fallon




    "Gill Smith" <> wrote in message
    news:...
    > I have used hyper link in the datagrid cell wherein user can delete the

    row
    > by clicking on it. How to replace this hyperlink with image in these cell

    ?
    > Gish
    >
    >
     
    Joe Fallon, May 29, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AD
    Replies:
    1
    Views:
    1,173
    Francis Shanahan
    Aug 23, 2003
  2. krian
    Replies:
    1
    Views:
    624
    Mike Moore [MSFT]
    Nov 12, 2003
  3. Ignacio Marcos

    need to convert from gif file to jpg file

    Ignacio Marcos, Nov 21, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    417
    Ignacio Marcos
    Nov 21, 2003
  4. josephrthomas
    Replies:
    1
    Views:
    2,888
  5. hb
    Replies:
    6
    Views:
    9,505
  6. Gabriel Rossetti
    Replies:
    3
    Views:
    794
    Jerry Hill
    Apr 25, 2008
  7. Beauregard T. Shagnasty

    Re: filename.gif or filename.gif.jpg?

    Beauregard T. Shagnasty, May 30, 2008, in forum: HTML
    Replies:
    1
    Views:
    1,005
    Jonathan N. Little
    May 30, 2008
  8. Replies:
    0
    Views:
    180
Loading...