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

How to show RadEditor as a textbox

1 Answer 132 Views
Editor
This is a migrated thread and some comments may be shown as answers.
beeta one
Top achievements
Rank 1
beeta one asked on 03 Oct 2012, 12:01 PM
hii,
How to show RadEditor as a textbox


thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Oct 2012, 12:28 PM
Hi Hash,

Try the following code to show RadEditor as a textbox. Please have a look into this demo for more information.

<style type="text/css">   
    /* The following CSS needs to be copied to the page to produce textbox-like RadEditor */
     
    .reLeftVerticalSide,
    .reRightVerticalSide,
    .reToolZone,
    .reToolCell
    {
        background: white !important;
    }
     
    .reToolCell
    {
        display: none\9 !important; /* for all versions of IE in order to prevent border bottom disappearing */
    }
     
    .reContentCell
    {
        border-width: 0 !important;
    }
     
    .formInput
    {
       border: solid 1px black;
    }
     
    .RadEditor
    {
        filter: chroma(color=c2dcf0);
    }
     
    .reWrapper_corner,
    .reWrapper_center
    {
        display: none !important; /* for FF */           
    }
     
    td.reWrapper_corner,
    td.reWrapper_center
    {
        display: block\9 !important; /* for all versions of IE */           
    }
    .reModule
    {
        display: none !important;
    }
</style>

ASPX:
<telerik:RadEditor Height="150px" Width="300px" ToolsWidth="330px"
         EditModes="Design" ID="RadEditor3"     runat="server" ToolbarMode="ShowOnFocus">
</telerik:RadEditor>

Thanks,
Shinu.
Tags
Editor
Asked by
beeta one
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or