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

Table tag inside radeditor

1 Answer 108 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sambasiva
Top achievements
Rank 1
Sambasiva asked on 13 Aug 2008, 06:28 AM
Hi,

I am using radeditor to display my data in a tablular format as shown in below,

<

telerik:RadEditor ID="RadEditor1" runat="server" Width="100%" >
<Content>
    <table>
        <tbody>
            <tr>
                <td>hjhkjhkjhkjlh </td>
            </tr>
        </tbody>
    </table>
</Content>
</telerik:RadEditor>

I have not specified any border or border styles for the table tag, even though editor is displaying the table with thin line dashed-border.  The same behaviour been observed in www.telerik.com/demos as well.

Is there any possible way to remove these styles. I wanted to display the data in tabular format without any borders.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Aug 2008, 06:37 AM
Hello Sambasiva,

You can easily display the table without the thin border by pressing the show/hide table borders toolbar button.

If you want to completely remove the table styles just set the CssFiles property of RadEditor and import your own css classes from external css file, e.g.

<telerik:RadEditor ID="RadEditor1" Runat="server">
    <CssFiles>
        <telerik:EditorCssFile Value="~/external.css" />
    </CssFiles>
</telerik:RadEditor>


Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Sambasiva
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or