RadEditor for ASP.NET AJAX

RadControls for ASP.NET AJAX

When RadEditor is set in non-editable mode (Enabled="false") it is displayed as a simple DIV element and contains the value of its Content property. To prevent the resizing of the content and display scrollbars around the DIV element, set the Style property of RadEditor to overflow: scroll or overflow: auto.

CopyASPX
<telerik:RadEditor runat="server" ID="RadEditor1" Enabled="false" Style="overflow: scroll;
   border: 1px solid red;" Width="75" Height="100">
   <Content>
   <strong>Line 1</strong><br />
   <strong>Line 2</strong><br />
   <strong>Line 3</strong><br />
   <strong>Line 4</strong><br />
   <strong>Line 5</strong><br />
   <strong>Line 6</strong><br />
   <strong>Line 7</strong>
   </Content>
</telerik:RadEditor>

The rendered output for the ASP.NET markup above is:

CopyXML
<div id="Div1" class="" style="border: 1px solid red; overflow: scroll; height: 100px;
   width: 75px;">
   <strong>Line 1</strong>
   <br />
   <strong>Line 2</strong>
   <br />
   <strong>Line 3</strong>
   <br />
   <strong>Line 4</strong>
   <br />
   <strong>Line 5</strong>
   <br />
   <strong>Line 6</strong>
   <br />
   <strong>Line 7</strong>
</div>