This is a migrated thread and some comments may be shown as answers.

Border Primitive

2 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cush
Top achievements
Rank 1
Cush asked on 27 Nov 2010, 11:44 PM
Hi All

This is driving me "Nuts"

I have an Image link in a Template Column in a RadGrid,
The image has got a blue line around it, I have read that this can be solved by setting the BorderPrimitive to = Collapse,
Can someone PLEASE tell me where / How to set this !!!

Many Thanks

Regards

Darren

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Nov 2010, 10:16 AM
Hello Darren,

There is no such thing as BorderPrimitive in RadGrid for ASP.NET AJAX. In your case you should set a zero border style to the image. Adding borders to images inside hyperlinks is a standard browser behavior, just like adding underline to hyperlink text.

Here is how to easily remove all problematic image borders with a CSS rule:

a  img
{
       border: 0;
}


Regards,
Dimo
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Cush
Top achievements
Rank 1
answered on 29 Nov 2010, 11:38 AM
Hi Dimo

Thanks very much for that.

Regards

Darren
Tags
Grid
Asked by
Cush
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Cush
Top achievements
Rank 1
Share this question
or