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

Top toolbar row not rendering in list item view

3 Answers 159 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Dan Hibbert
Top achievements
Rank 1
Dan Hibbert asked on 25 Mar 2010, 11:10 AM
Hi,
  I have an issue where the top row of toolbars is missing from the rad editor.  We are using version 5.6.0.0.  My listconfigfile is 

 

 

 

 

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
  <property name="ToolbarMode">Default</property> 
  <property name="ToolsWidth">600px</property> 
  <property name="EditModes">Design,Html</property> 
  <property name="Height">400px</property> 
  <property name="Width">600px</property> 
  <property name="ConvertToXhtml">True</property> 
  <property name="ShowHtmlMode">True</property> 
  <property name="ShowPreviewMode">False</property> 
  <property name="AllowScripts">False</property> 
  <property name="ImagesPaths">  
    <item>/Global/Image/Library</item> 
    <item>PublishingImages</item> 
    <item>/SiteCollectionImages</item> 
  </property> 
  <property name="OnClientSelectionChange">OnClientSelectionChange</property> 
</configuration> 

and the tools file
<root> 
  <modules> 
    <module name="RadEditorDomInspector" /> 
    <module name="RadEditorStatistics" /> 
  </modules> 
 
 
  <!--    <tool name="FlashManager" /> --> 
  <!--    <tool name="MediaManager"  /> --> 
  <!--    <tool name="DocumentManager"  /> --> 
 
 
  <tools name="row1">  
    <tool name="Print" /> 
    <tool name="AjaxSpellCheck" /> 
    <tool name="FindAndReplace" /> 
    <tool separator="true"/>  
    <tool name="SelectAll"/>  
    <tool name="Cut" shortcut="CTRL+X" /> 
    <tool name="Copy" shortcut="CTRL+C" /> 
    <tool name="Paste" shortcut="CTRL+V" /> 
    <tool name="Undo" shortcut="CTRL+Z" /> 
    <tool name="Redo" shortcut="CTRL+Y" /> 
    <tool separator="true"/>  
    <tool name="PasteFromWord" /> 
    <tool name="PasteFromWordNoFontsNoSizes"/>  
    <tool name="PastePlainText" /> 
    <tool name="PasteAsHtml"  /> 
    <tool name="FormatStripper"/>  
  </tools> 
 
 
  <tools name="row2">  
    <tool name="MOSSLinkManager" shortcut="CTRL+K" /> 
    <tool name="Unlink" shortcut="CTRL+SHIFT+K" /> 
    <tool name="ImageManager" shortcut="CTRL+G" /> 
    <tool name="MOSSTemplateManager" /> 
    <tool separator="true"/>  
 
    <tool name="InsertBreakAtEnd"  /> 
    <tool name="InsertSymbol"  /> 
    <tool name="InsertHorizontalRule"  /> 
    <tool name="InsertDate"  /> 
    <tool separator="true"/>  
    <tool name="MOSSInsertTable" /> 
    <tool name="SetTableProperties" /> 
    <tool name="ToggleTableBorder" /> 
    <tool name="MOSSInsertTableElement">  
      <tool name="InsertRowAbove" /> 
      <tool name="InsertRowBelow" /> 
      <tool name="InsertColumnLeft" /> 
      <tool name="InsertColumnRight" /> 
      <tool name="SplitCell" /> 
    </tool> 
    <tool name="MOSSDeleteTableElement">  
      <tool name="DeleteRow" /> 
      <tool name="DeleteColumn" /> 
    </tool> 
    <tool name="MergeColumns" /> 
  </tools> 
  <tools name="row3">  
    <tool name="InsertOrderedList" /> 
    <tool name="InsertUnorderedList" /> 
    <tool name="Outdent" /> 
    <tool name="Indent" /> 
    <tool separator="true"/>  
    <tool name="JustifyLeft" /> 
    <tool name="JustifyCenter" /> 
    <tool name="JustifyRight" /> 
    <tool separator="true"/>  
    <tool name="Bold" shortcut="CTRL+B" /> 
    <tool name="Italic" shortcut="CTRL+I" /> 
    <tool name="Underline" shortcut="CTRL+U" /> 
    <tool name="StrikeThrough"  /> 
    <tool name="Superscript"  /> 
    <tool name="Subscript"  /> 
    <tool separator="true"/>  
    <tool name="FormatBlock" /> 
  </tools> 
 
  <paragraphs> 
    <paragraph name="&lt;P>Normal&lt;/P>" value="&lt;P>" /> 
    <paragraph name="&lt;H2>Head&lt;/H2>" value="&lt;H2>" /> 
    <paragraph name="&lt;H3>Head 1&lt;/H3>" value="&lt;H3>" /> 
    <paragraph name="&lt;H4>Head 2&lt;/H4>" value="&lt;H4>" /> 
    <paragraph name="&lt;H5>Head 3&lt;/H5>" value="&lt;H5>" /> 
  </paragraphs> 
 
  <contextMenus> 
    <contextMenu forElement="*">  
      <tool name="Cut"/>  
      <tool name="Copy"/>  
      <tool name="Paste"/>  
    </contextMenu> 
  </contextMenus> 
  <fontNames> 
    <item name="Arial" /> 
  </fontNames> 
  <colors> 
    <color value="black" /> 
    <!--  
    <color value="#af005f" /> 
    <color value="#990066" /> 
    <color value="#666666" /> 
    --> 
  </colors> 
 
</root> 

I've attached some images - I've tested the problem by swapping rows one and two around.  The result is always the top toolbar is missing.  I've tested this in IE 8 and Firefox 3.5 and get the same problem.  I don't think this is css rated - the "missing toolbar in list item.png" shows the output in firebug - there are only two <ul> in reToolbarWrapper div.  I'm wondering if there is something in the config file that is causing this?

I have a second question as well - when does editor use the listtoolsfile.xml vs the toolsfile.xml?  I have attached three images - the one titled "Toolbar showing in List Item.png" is using the toolsfile.xml but the other two (which I'm getting the problem above) use the listtoolsfile.xml .  My understanding was that list items all used the listtoolsfile.xml ?

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 26 Mar 2010, 08:55 AM
Hi Dan Hibbert,

When you use RichText column the top toolbar disappears. If you want to have the tree toolbars, you need to set the type of the column to EngancedRichText.


All the best,
Stanimir
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Dan Hibbert
Top achievements
Rank 1
answered on 26 Mar 2010, 11:30 AM
Hi Stanimir,
Thanks for your reply.  Is that by design or can I stop that by configuration?  I'm getting this problem with out of the box lists like calendars so it's not going to be possible to change the configuration (or at least our users wouldn't be happy having to do this extra step each time they create a calendar list).

If it's by design and I can't stop it, can I just put in an empty row?

That may answer my second question as well then - if I use a richtext column , it uses listtoolsfile.xml and if it's an enhanced rich text column it uses toolsfile.xml?


Thanks in advance. 

Dan

I would just like to say how good I think the Telerik support function is.  We've only just implemented the  rad editor on moss and everytime I've had an issue, you've got back to me really quickly.
0
Accepted
Stanimir
Telerik team
answered on 26 Mar 2010, 01:09 PM
Hi Dan Hibbert,

Bothe RichText and Enhanced RichText columns use ListToolsFile.xml. The only difference is that when the column is RichText the first toolbar is removed. This is by design and can not be changed.

Review the following online helps article Different configuration files for different webs. If you are using the latest version of RadEditor for MOSS 5.7.1. You can create ListToolsFile{UID}.xml where UID is the one of the list where the control is being used.


Sincerely yours,
Stanimir
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
WebParts for SharePoint
Asked by
Dan Hibbert
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Dan Hibbert
Top achievements
Rank 1
Share this question
or