467,864 Members | 1,979 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,864 developers. It's quick & easy.

image border in datagrid

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.

Nov 19 '05 #1
  • viewed: 1388
Share:
2 Replies
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.

Nov 19 '05 #2
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.


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Karl Burrows | last post: by
1 post views Thread by John Thompson | last post: by
reply views Thread by Tim::.. | last post: by
reply views Thread by Tim::.. | last post: by
reply views Thread by csgraham74 | last post: by
6 posts views Thread by abdullah1983 | last post: by
3 posts views Thread by Alex Maghen | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.