I am having this issue - I have my custom RadEditor control , which is extending Telerik.Web.UI.RadEditor and is implementing Web.UI.IWebUITypeEditor interface.
I want it to have Library Image Manager and Link Manager.
I have my class and I have a separate ascx file whixh contains the java script functions for implementing the Image and Link dialogs. To use them in my control I am doing :
protected override void CreateChildControls()
My control's settings , which I set in OnLoad method are:
protected override void OnLoad(EventArgs e)
this.ContentAreaCssFile = "~/Styles/style.css";
this.ToolsFile = "~/Templates/Modules/EditorToolsFile.xml";
this.EnableEmbeddedSkins = true;
this.Skin = "Default2006";
this.DialogsCssFile = "~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorDialogs.css";
this.NewLineBr = false;
this.Height = 360;
this.Width = 595;
this.EnableEmbeddedScripts = true;
string viewPaths = new string;
string uploadPaths = new string;
string deletePaths = new string;
viewPaths = "~/Images";
uploadPaths = "~/Images";
deletePaths = "~/Images";
this.ImageManager.ViewPaths = viewPaths;
this.ImageManager.UploadPaths = uploadPaths;
this.ImageManager.DeletePaths = deletePaths;
Of course in my EditorToolsFile.xml I have :
<tools name="InsertToolbar" dockable="false">
<tool name="InsertSnippet" text="Insert a snippet"/>
<tool name="LibraryImageManager" text="Insert an image"/>
<tool name="LinkManager" text="Insert a link" shortcut="CTRL+K"/>
<tool name="Unlink" shortcut="CTRL+SHIFT+K"/>
So, the problem is that Image and Link dialogs are opening but behind my custom editor , so the user cannot do anything with them.
I was looking up a lot for this only thing I found is
But I have already done these.
Thank you very much!