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

[Solved] border = 0 on the table?

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Julien
Top achievements
Rank 1
Julien asked on 30 Jan 2012, 02:59 PM
Hi,

I just would like to know how it is possible to set the border="0" server side of my generated table?

I saw the "HtmlAttributes" but, this seems to be set the on an upper div, and since it cannot be stylized through CSS, I've to set this on the <table/> directly.

How can I do this? 

EDIT: Forgot that, I found a TableHtmlAttribute :)

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Jan 2012, 05:13 PM
Hello Julien,

Indeed, you can use TableHtmlAttributes, but if you value standard-compliant HTML markup and front-end best practices, I recommend you to use CSS instead.

Greetings,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Julien
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or