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
0
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.
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
ASPX.VB
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
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.
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.