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

radeditor with black background

1 Answer 56 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Troika
Top achievements
Rank 1
Troika asked on 15 Apr 2013, 06:08 PM
i have inserted a radeditor but it appears with black background so i cant see the text  i'm writting why is this happening? i ahve changed the skin but it stills all dark when i write some text

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 18 Apr 2013, 04:15 PM
Hello,

To solve the issue set the CssFiles property as explained in this help article: Content Area Appearance Problems.

Another possible way for setting the background (or any other style) of the RadEditor's content is to do it on the client. For example:
<telerik:RadEditor ID="RadEditor1" Width="100%" Height="600px" runat="server" OnClientLoad="OnClientLoad">
</telerik:RadEditor>
<script type="text/javascript">
    function OnClientLoad(editor, args) {
        var style = editor.get_ContentArea().style;
        style.backgroundColor = "White";
    }
</script>

I hope this information would be helpful for you.

Regards,
Veselina Raykova
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Troika
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or