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

Missing toolbars in 5.5.1.0

1 Answer 50 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Bob Schrum
Top achievements
Rank 1
Bob Schrum asked on 29 Oct 2009, 04:01 PM
Upgrading a MOSS site from 5.2, the RadEditor functions, but is is displaying without buttons or other elements.  Just "Font Name" and "Size" at the top, and "Design", "HTML" and "Click for help about adding HTML formatting." at the bottom.  The pencil and blue angle bracket icons are visible in the bottom and the phantom buttons work. 

I made sure there was a RadEditorStyles_YYZ.css (currently identical to the default css file) in the wpresources\RadEditorSharePoint\5.5.1.0__1f131a624888eeed\Resources\ToolImages folder that matches the theme (eg. YYZ) I set in web.config.  EnableEmbeddedSkins has no effect either way.  I am rendering the field in an ASCX using a tag that is implemented n the following public class:

    [ToolboxData("<{0}:YYZRadTextField runat=\"server\"></{0}:YYZRadTextField>")]  
    public class YYZRadTextField : RadTextField  
    {  
        public YYZRadTextField()  
            : base()  
        {  
            this.EnableEmbeddedSkins = false;  
        }  
 
        protected override void OnInit(EventArgs e)  
        {  
            base.OnInit(e);  
 
            this.EnableEmbeddedSkins = false;  
 
            this.Style.Add("width", "95%");  
 
            this.CssFiles.Add("/_layouts/YYZapplication/"   
                 + System.Globalization.CultureInfo.CurrentUICulture.Name    
                 + "/Styles/RadControls/Editor.YYZ.css");  
 
            this.DialogsCssFile = "/_layouts/YYZapplication/"    
                 + System.Globalization.CultureInfo.CurrentUICulture.Name    
                 + "/Styles/RadControls/Dialogs.YYZ.css";  
 
            this.AddImagePaths();  
        }  
 
        /// <summary> 
        /// Adds the image path to a picture library used to store images used in the rad text editor control  
        /// </summary> 
        protected void AddImagePaths()  
        {  
            string path = string.Format("/{0}", "SiteCollectionImages");  
            this.ImageManager.ViewPaths = new string[] { path };  
        }  
 
    } 

Any ideas?  Where do the toolbar images normally originate, since the newer RadEditor apparently no longer uses GIFs of sprites.

Thanks

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 02 Nov 2009, 02:47 PM
Hi Bob Schrum,

Could you try if inheriting from MOSSRadEditor will solve the problem? Also please provide us with your web.config file and the configuration ConfigFile.xml, ListConfigFile.xml, ToolsFile.xml, ListToolsFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder.

Best wishes,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
WebParts for SharePoint
Asked by
Bob Schrum
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or