image border in datagrid

Discussion in 'ASP .Net' started by Stephen, Dec 9, 2004.

  1. Stephen

    Stephen Guest

    Ever since I ported VB my webform to C# the images in the following
    html have borders.

    <asp:EditCommandColumn footerText="New Item" EditText="<img
    src=images/edit.gif (border=0 alt='Edit line item'>" CancelText="<img
    src=images/cancel_1.gif (border=0 alt='Cancel update'>"
    UpdateText="<img src=images/save.gif (border=0 alt='Save changes'>">

    The same webform using VB does not show the borders. Actually, I am
    not even sure they are image borders at all, but something else. It is
    a blue thick line around my image. Not sure why this would be
    happening between the two languages. Any suggestions are appreciated.
     
    Stephen, Dec 9, 2004
    #1
    1. Advertising

  2. Stephen why doing :- EditText="<img src=images/edit.gif (border=0 alt='Edit
    line item'>"
    Why not
    EditText="<img src=images/edit.gif border='0' alt='Edit line item'>"

    Hope it helps..
    Patrick



    "Stephen" wrote:

    > Ever since I ported VB my webform to C# the images in the following
    > html have borders.
    >
    > <asp:EditCommandColumn footerText="New Item" EditText="<img
    > src=images/edit.gif (border=0 alt='Edit line item'>" CancelText="<img
    > src=images/cancel_1.gif (border=0 alt='Cancel update'>"
    > UpdateText="<img src=images/save.gif (border=0 alt='Save changes'>">
    >
    > The same webform using VB does not show the borders. Actually, I am
    > not even sure they are image borders at all, but something else. It is
    > a blue thick line around my image. Not sure why this would be
    > happening between the two languages. Any suggestions are appreciated.
    >
    >
     
    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Dec 9, 2004
    #2
    1. Advertising

  3. Stephen

    Stephen Guest

    Good eye, I don't know how that ( got in there, but that was the
    problem. Must have happened when I was doing a search and replace.
    Thanks!

    Patrick.O.Ige wrote:
    > Stephen why doing :- EditText="<img src=images/edit.gif (border=0

    alt='Edit
    > line item'>"
    > Why not
    > EditText="<img src=images/edit.gif border='0' alt='Edit line item'>"
    >
    > Hope it helps..
    > Patrick
    >
    >
    >
    > "Stephen" wrote:
    >
    > > Ever since I ported VB my webform to C# the images in the following
    > > html have borders.
    > >
    > > <asp:EditCommandColumn footerText="New Item" EditText="<img
    > > src=images/edit.gif (border=0 alt='Edit line item'>"

    CancelText="<img
    > > src=images/cancel_1.gif (border=0 alt='Cancel update'>"
    > > UpdateText="<img src=images/save.gif (border=0 alt='Save

    changes'>">
    > >
    > > The same webform using VB does not show the borders. Actually, I

    am
    > > not even sure they are image borders at all, but something else.

    It is
    > > a blue thick line around my image. Not sure why this would be
    > > happening between the two languages. Any suggestions are

    appreciated.
    > >
    > >
     
    Stephen, Dec 10, 2004
    #3
    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. tshad
    Replies:
    0
    Views:
    2,304
    tshad
    Jan 31, 2005
  2. Replies:
    5
    Views:
    11,585
    khanate
    Aug 16, 2006
  3. phl
    Replies:
    1
    Views:
    4,411
    Martin Jay
    Jun 8, 2006
  4. Coder
    Replies:
    1
    Views:
    726
    Cowboy \(Gregory A. Beamer\)
    Jun 24, 2006
  5. =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=

    border-color: #003366; border-width: 2px;

    =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Jul 17, 2006, in forum: HTML
    Replies:
    64
    Views:
    3,626
    Adrienne Boswell
    Jul 30, 2006
Loading...

Share This Page