New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Setting Content Area Defaults in Html mode


Set Content Area Defaults in Html mode


The code below demonstrates how to get a reference to the TextArea element of RadEditor used in Html mode and set its background-color and color properties programmatically:

<script type="text/javascript">  
function OnClientLoad(editor)  
    var area = editor.get_textArea(); //get reference to the textarea of RadEditor in Html mode = "red"; = "yellow";              

<telerik:RadEditor runat="server" 
In this article
Not finding the help you need? Improve this article