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

Style Builder field names

2 Answers 87 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Clint MacDonald
Top achievements
Rank 2
Clint MacDonald asked on 30 May 2011, 03:01 PM
Hello,
When I ues the editor, I am adding some custom context menus and custom buttons, but it seems that the names of the fields for the stylebuilder are messed up. 

For instance, in the main table wizard dialog, on the table properties and cell properties tab, the stylebuilder button has common_stylebuilder beside it rather than just Style Builder.

And when I go to the style builder the field names are messed up as well....as shown below.....


StyleBuilder_Bold
select
StyleBuilder_Italics
select
StyleBuilder_SmallCaps
select
StyleBuilder_Capitalization














Just to make sure, I have copied and pasted my radeditor tag into the box here....

<telerik:RadEditor ID="RadEditor1" runat="server" Height="600px" Width="780px" ContentFilters="RemoveScripts, FixEnclosingP, ConvertToXhtml, IndentHTMLContent"
           NewLineBr="False" StripFormattingOnPaste="AllExceptNewLines" StripAbsoluteAnchorPaths="true"
           StripAbsoluteImagePaths="true" StripFormattingOptions="AllExceptNewLines" 
           NewLineMode="P" TableLayoutCssFile="TableLayout.css">
           <%--                                <Modules>
                   <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" />
                   <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" />
                   <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="true" Visible="true" />
                   <telerik:EditorModule Name="RadEditorHtmlInspector" Enabled="true" Visible="true" />
               </Modules>
           --%>
           <ImageManager ViewPaths="/content/images" DeletePaths="/content/images" UploadPaths="/content/images"
               MaxUploadFileSize="2500000" SearchPatterns="*.gif,*.png,*.jpg,*.jpeg,*.bmp" EnableImageEditor="true" />
           <DocumentManager ViewPaths="/content/documents" DeletePaths="/content/documents"
               UploadPaths="/content/documents" MaxUploadFileSize="5000000" SearchPatterns="*.pdf,*.xls,*.xlsx,*.doc,*.docx,*.ppt,*.pptx,*.zip" />
           <CssFiles>
               <telerik:EditorCssFile Value="/GCMS/App_Themes/Default/CMS.css" />
           </CssFiles>
           <Modules>
               <telerik:EditorModule Name="RadEditorNodeInspector" Visible="true" Enabled="true" />
               <telerik:EditorModule Name="RadEditorDomInspector" />
               <telerik:EditorModule Name="RadEditorStatistics"  />
           </Modules>
             
           <ContextMenus>
               <telerik:EditorContextMenu TagName="IMG">
                   <telerik:EditorTool Name="SetImageProperties" />
                   <telerik:EditorTool Name="ImageMapDialog" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="TABLE">
                   <telerik:EditorTool Name="ToggleTableBorder" />
                   <telerik:EditorTool Name="SetTableProperties" />
                   <telerik:EditorTool Name="DeleteTable" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="TD">
                   <telerik:EditorTool Name="InsertRowAbove" />
                   <telerik:EditorTool Name="InsertRowBelow" />
                   <telerik:EditorTool Name="DeleteRow" />
                   <telerik:EditorTool Name="InsertColumnLeft" />
                   <telerik:EditorTool Name="InsertColumnRight" />
                   <telerik:EditorTool Name="MergeColumns" />
                   <telerik:EditorTool Name="MergeRows" />
                   <telerik:EditorTool Name="SplitCell" />
                   <telerik:EditorTool Name="DeleteCell" />
                   <telerik:EditorTool Name="SetCellProperties" />
                   <telerik:EditorTool Name="TableProperties" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="A">
                   <telerik:EditorTool Name="SetLinkProperties" />
                   <telerik:EditorTool Name="Unlink" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="BODY">
                   <telerik:EditorTool Name="Cut" />
                   <telerik:EditorTool Name="Copy" />
                   <%--      <telerik:EditorTool Name="Paste" />
                   --%>
                   <telerik:EditorTool Name="PasteFromWord" Visible="false" />
                   <telerik:EditorTool Name="PastePlainText" />
                   <%--      <telerik:EditorTool Name="PasteAsHtml" />
                   --%>
               </telerik:EditorContextMenu>
           </ContextMenus>
           <Symbols>
               <telerik:EditorSymbol Char="\u2713" />
               <telerik:EditorSymbol Char="\u2022" />
               <telerik:EditorSymbol Char="\u271A" />
               <telerik:EditorSymbol Char="\u2739" />
               <telerik:EditorSymbol Char="\u2736" />
               <telerik:EditorSymbol Char="\u2715" />
               <telerik:EditorSymbol Char="\u2731" />
               <telerik:EditorSymbol Char="\u00AE" />
               <telerik:EditorSymbol Char="\u00A9" />
               <%-- Math Symbols --%>                
               <telerik:EditorSymbol Char="\u00B1" />
               <telerik:EditorSymbol Char="\u00F7" />
               <telerik:EditorSymbol Char="\u2248" />
               <telerik:EditorSymbol Char="\u2260" />
               <telerik:EditorSymbol Char="\u2264" />
               <telerik:EditorSymbol Char="\u2265" />
               <telerik:EditorSymbol Char="\u221A" />
               <telerik:EditorSymbol Char="\u221E" />
               <telerik:EditorSymbol Char="\u222B" />
               <telerik:EditorSymbol Char="\u2202" />
               <telerik:EditorSymbol Char="\u00B5" />
               <telerik:EditorSymbol Char="\u00B6" />
               <%-- Fractions --%>
               <telerik:EditorSymbol Char="\u00BC" />
               <telerik:EditorSymbol Char="\u00BD" />
               <telerik:EditorSymbol Char="\u00BE" />
               <telerik:EditorSymbol Char="\u2153" />
               <telerik:EditorSymbol Char="\u2154" />
               <telerik:EditorSymbol Char="\u215B" />
               <telerik:EditorSymbol Char="\u215C" />
               <telerik:EditorSymbol Char="\u215D" />
               <telerik:EditorSymbol Char="\u215E" />
               <%-- Accents --%>
               <telerik:EditorSymbol Char="\u00E0" />
               <telerik:EditorSymbol Char="\u00E1" />
               <telerik:EditorSymbol Char="\u00E2" />
               <telerik:EditorSymbol Char="\u00E3" />
               <telerik:EditorSymbol Char="\u00E4" />
               <telerik:EditorSymbol Char="\u00E5" />
               <telerik:EditorSymbol Char="\u00E6" />
               <telerik:EditorSymbol Char="\u00E7" />
               <telerik:EditorSymbol Char="\u00E8" />
               <telerik:EditorSymbol Char="\u00E9" />
               <telerik:EditorSymbol Char="\u00EA" />
               <telerik:EditorSymbol Char="\u00EB" />
               <telerik:EditorSymbol Char="\u00EC" />
               <telerik:EditorSymbol Char="\u00ED" />
               <telerik:EditorSymbol Char="\u00F2" />
               <telerik:EditorSymbol Char="\u00F3" />
               <telerik:EditorSymbol Char="\u00F4" />
               <telerik:EditorSymbol Char="\u00F5" />
               <telerik:EditorSymbol Char="\u00F6" />
               <telerik:EditorSymbol Char="\u00B0" />
               <telerik:EditorSymbol Char="\u00F8" />
               <telerik:EditorSymbol Char="\u00DF" />
               <telerik:EditorSymbol Char="\u00A7" />
               <telerik:EditorSymbol Char="\u01A9" />
               <telerik:EditorSymbol Char="\u0194" />
               <telerik:EditorSymbol Char="\u0197" />
               <telerik:EditorSymbol Char="\u019F" />
               <telerik:EditorSymbol Char="\u01B1" />
               <telerik:EditorSymbol Char="\u0424" />
               <telerik:EditorSymbol Char="\u03B2" />
               <telerik:EditorSymbol Char="\u0394" />
               <telerik:EditorSymbol Char="\u2122" />
               <telerik:EditorSymbol Char="\u25BA" />
           </Symbols>
           <Links>
               <telerik:EditorLink Href="http://www.uwaterloo.ca" Name="UWaterloo" />
               <telerik:EditorLink Href="http://www.grad.uwaterloo.ca" Name="Grad Office" />
               <telerik:EditorLink Href="http://www.registrar.uwaterloo.ca" Name="Registrars Office" />
               <telerik:EditorLink Href="http://www.techstudio.ca" Name="techStudio" />
               <telerik:EditorLink Href="http://www.Google.ca" Name="Google" />
           </Links>
           <Paragraphs>
               <telerik:EditorParagraph Tag="p" Title="Normal Paragraph" />
               <telerik:EditorParagraph Tag="h3" Title="<h3>Main heading</h3>" />
               <telerik:EditorParagraph Tag="h4" Title="<h4>Sub Heading</h4>" />
               <telerik:EditorParagraph Tag="h5" Title="<h5>Sub Sub Heading</h5>" />
           </Paragraphs>
           <Tools>
               <telerik:EditorToolGroup Tag="Custom">
                   <telerik:EditorTool Name="MarkForAddition" Text="Mark selected to be added" />
                   <telerik:EditorTool Name="MarkForRemove" Text="Mark selection to be deleted" />
                   <telerik:EditorTool Name="MarkAsComment" Text="Mark selected as comment" />
                   <telerik:EditorTool Name="TrackChangesDialog" />
               </telerik:EditorToolGroup>
                 
               <telerik:EditorToolGroup Tag="MainToolbar">
                   <telerik:EditorTool Name="AjaxSpellCheck" />
                   <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" />
                   <telerik:EditorTool Name="Italic" ShortCut="CTRL+I" />
                   <telerik:EditorTool Name="Underline" ShortCut="CTRL+U" />
                   <telerik:EditorTool Name="Superscript" />
                   <telerik:EditorTool Name="Subscript" />
                   <telerik:EditorTool Name="StrikeThrough" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="ConvertToLower" />
                   <telerik:EditorTool Name="ConvertToUpper" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A" />
                   <telerik:EditorTool Name="Cut" />
                   <telerik:EditorTool Name="Copy" ShortCut="CTRL+C" />
                   <telerik:EditorTool Name="PastePlainText" ShortCut="CTRL+V" />
                   <telerik:EditorDropDown Name="FormatStripper" >
                       <telerik:EditorDropDownItem Name="StripAll" />
                       <telerik:EditorDropDownItem Name="StripCss" />
                       <telerik:EditorDropDownItem Name="StripFont" />
                       <telerik:EditorDropDownItem Name="StripSpan" />
                       <telerik:EditorDropDownItem Name="StripWord" />
                   </telerik:EditorDropDown >
                   <telerik:EditorSplitButton Name="Undo" />
                   <telerik:EditorSplitButton Name="Redo" />
                   <telerik:EditorTool Name="Print" ShortCut="CTRL+P" />
                   <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup Tag="Inserts">
                   <telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" />
                   <telerik:EditorTool Name="Unlink" ShortCut="CTRL+SHIFT+K" />
                   <telerik:EditorTool Name="InsertTableLight" />
                   <telerik:EditorTool Name="InsertTable" />
                   <telerik:EditorTool Name="ImageManager" />
                   <telerik:EditorTool Name="InsertParagraph" />
                   <telerik:EditorTool Name="InsertHorizontalRule" />
               </telerik:EditorToolGroup>
              <telerik:EditorToolGroup Tag="InsertToolbar">
                   <telerik:EditorTool Name="JustifyLeft" />
                   <telerik:EditorTool Name="JustifyCenter" />
                   <telerik:EditorTool Name="JustifyRight" />
                   <telerik:EditorTool Name="JustifyFull" />
                   <telerik:EditorTool Name="JustifyNone" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="Indent" />
                   <telerik:EditorTool Name="Outdent" />
                   <telerik:EditorTool Name="InsertOrderedList" />
                   <telerik:EditorTool Name="InsertUnorderedList" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="ToggleTableBorder" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup>
                   <telerik:EditorTool Name="PageProperties" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup>
                   <telerik:EditorDropDown Name="FormatBlock">
                   </telerik:EditorDropDown>
                   <%--                    <telerik:EditorDropDown Name="ApplyClass">
                   </telerik:EditorDropDown>--%>
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup Tag="DropdownToolbar">
                   <telerik:EditorSplitButton Name="InsertSymbol" />
                   <telerik:EditorDropDown Name="InsertCustomLink" />
                   <telerik:EditorSeparator />
                   <telerik:EditorDropDown Name="Zoom">
                   </telerik:EditorDropDown>
                   <%--                    <telerik:Editortool Name="ModuleManager" />
                   --%>
                   <telerik:EditorTool Name="ToggleScreenMode" ShortCut="F11" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup Tag="DropdownToolbar">
                   <telerik:EditorDropDown Name="ApplyClass" />
                   <telerik:EditorTool Name="XhtmlValidator" Visible="True" />
               </telerik:EditorToolGroup>
           </Tools>
           <Content/>
           <ImageManager ViewPaths="/content/images" UploadPaths="/content/images" DeletePaths="/content/images"
               SearchPatterns="*.gif,*.png,*.jpg,*.jpeg,*.bmp" MaxUploadFileSize="2500000">
           </ImageManager>
           <DocumentManager ViewPaths="/content/documents" UploadPaths="/content/documents"
               DeletePaths="/content/documents" SearchPatterns="*.pdf,*.xls,*.xlsx,*.doc,*.docx,*.ppt,*.pptx,*.zip"
               MaxUploadFileSize="5000000"></DocumentManager>
           <FlashManager ViewPaths="/content/media" UploadPaths="/content/media" DeletePaths="/content/media"
               MaxUploadFileSize="5000000"></FlashManager>
           <MediaManager ViewPaths="/content/media" UploadPaths="/content/media" DeletePaths="/content/media"
               SearchPatterns="*.wmv,*.swf,*.avi,*.mpg,*.mpg4" MaxUploadFileSize="10000000">
           </MediaManager>
       </telerik:RadEditor>

Thanks
Clint

2 Answers, 1 is accepted

Sort by
0
Clint MacDonald
Top achievements
Rank 2
answered on 31 May 2011, 02:11 PM
bump
0
Dobromir
Telerik team
answered on 02 Jun 2011, 10:27 AM
Hi Clint,

I have already answered your support ticket on the subject. For convenience I will paste my answer here as well.

This issue can occur if in the application are used resource files (resx) and / or external dialogs from a different version of RadControls and the corresponding localization strings are missing. If you are using external resource files and / or dialogs please make sure that they are from the same version as the Telerik.We.UI.dll used in the application.

If this is not the case, could you please provide sample fully runnable project reproducing the issue so we can investigate it further?


All the best,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
Clint MacDonald
Top achievements
Rank 2
Answers by
Clint MacDonald
Top achievements
Rank 2
Dobromir
Telerik team
Share this question
or