Add two buttons in datagrid row in same column

Discussion in 'ASP .Net Datagrid Control' started by csgraham74, Jun 1, 2005.

  1. csgraham74

    csgraham74 Guest

    I have a datagrid with 5 columns

    In the 4th column i have a link button with an image and in the 5th
    columm i have a link button with an image.

    what i want to do is to have both images in the same column one above
    the other.

    how can i do this in an asp.net datagrid???

    I will have differing commands coming from each button which i will
    capture using the e.commandname method.

    Any help greatly appreciated???

    thanks to all in advance

    CG
    csgraham74, Jun 1, 2005
    #1
    1. Advertising

  2. Make a Template column. In the column put a simple html <table> with 2 rows
    and 1 column. Put the images inside the table cells.

    Eliyahu

    "csgraham74" <> wrote in message
    news:...
    > I have a datagrid with 5 columns
    >
    > In the 4th column i have a link button with an image and in the 5th
    > columm i have a link button with an image.
    >
    > what i want to do is to have both images in the same column one above
    > the other.
    >
    > how can i do this in an asp.net datagrid???
    >
    > I will have differing commands coming from each button which i will
    > capture using the e.commandname method.
    >
    > Any help greatly appreciated???
    >
    > thanks to all in advance
    >
    > CG
    >
    Eliyahu Goldin, Jun 2, 2005
    #2
    1. Advertising

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. =?Utf-8?B?U3VyZXNo?=
    Replies:
    1
    Views:
    453
    Saravana
    Nov 22, 2004
  2. Replies:
    0
    Views:
    354
  3. Replies:
    0
    Views:
    410
  4. Ping-Hsun Hsieh
    Replies:
    1
    Views:
    421
    Jon Clements
    Nov 19, 2009
  5. AC
    Replies:
    1
    Views:
    162
    Teemu Keiski
    Jan 1, 2004
Loading...

Share This Page