Missing toolbars in 5.5.1.0

2 posts, 0 answers
  1. Bob Schrum
    Bob Schrum avatar
    3 posts
    Member since:
    Oct 2009

    Posted 29 Oct 2009 Link to this post

    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

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 02 Nov 2009 Link to this post

    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.

Back to Top