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

Small Border on Footer

3 Answers 64 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Chase Florell
Top achievements
Rank 1
Chase Florell asked on 15 Aug 2008, 01:02 AM
On the "Tool Bar Mode" page, the RadEditor2 has a very thin border on the footer and I would like to duplicate that behavior however I cannot find the required information.  I have duplicated that code with no luck.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 Aug 2008, 07:57 AM
Hi Chase,

You can duplicate this behavior by setting the following properties EditModes="Design" EnableResize="false", e.g.

<telerik:radeditor runat="server" ID="RadEditor1" EditModes="Design" EnableResize="false" >
</telerik:radeditor>

as well as hiding the editor's modules in the PageLoad event:

        RadEditor1.EnsureToolsFileLoaded();
        RadEditor1.Modules.Clear();

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chase Florell
Top achievements
Rank 1
answered on 15 Aug 2008, 04:38 PM
I have done this... with no luck.

ASPX
<telerik:RadEditor ID="txtBusinessDescription"   
                   EnableResize="false"   
                   ToolBarMode="Default"   
                   runat="server"   
                   Width="360px"   
                   Height="200px"   
                   ToolsFile="~/Scripts/RadToolBar.xml"   
                   AutoResizeHeight="True"   
                   EditModes="Design" 
                   Skin="Telerik"   
                   StripFormattingOnPaste="MSWord"   
                   StripFormattingOptions="MSWord"   
                   ExternalDialogsPath="~/Scripts/RadEditor/Dialogs" /> 

ASPX.VB
        txtBusinessDescription.Modules.Clear()  
        txtBusinessDescription.EnsureToolsFileLoaded() 
0
Rumen
Telerik team
answered on 18 Aug 2008, 10:29 AM
Hi Chase,

You need to replace the places of the


        txtBusinessDescription.Modules.Clear()
        txtBusinessDescription.EnsureToolsFileLoaded()

lines to

        txtBusinessDescription.EnsureToolsFileLoaded()
        txtBusinessDescription.Modules.Clear()

I also so that you are using a custom ToolsFile. You need to open the ~/Scripts/RadToolBar.xml and remove the modules tags too.

If needed I can send you a sample working project. Just let me know.

Best regards,
Rumen
the Telerik team

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