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:
Any ideas? Where do the toolbar images normally originate, since the newer RadEditor apparently no longer uses GIFs of sprites.
Thanks
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