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

[Solved] Custom Image Manager Within Rad Editor

1 Answer 181 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vaughan Reed
Top achievements
Rank 1
Vaughan Reed asked on 26 Aug 2009, 07:47 PM
Due to browswer issues I am in the process of migrating from the classic RadEditor to the ASP.NET AJAX Editor.
I wish to keep my existing image manager.
In the old version I could customise the LinkManagerControl.ascx to handle image retrieval for table cell background images.
Now that the ImageDialogCaller tool is used how do I customise it so that it returns the url from my image manager.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Aug 2009, 12:56 PM
Hi Vaughan,

You should create your own dialogsScriptsFile.js and load it via the DialogsScriptFile property of RadEditor. After that open the dialogsScriptsFile.js file and override the image dialog caller function callImageDialog()  and change the dialog that is opened.

You can override the function using this code:

Telerik.Web.UI.ImageDialogCaller.prototype.callImageDialog = function()
{
     alert("Open New Dialog");
}

Sincerely yours,
Rumen
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
Editor
Asked by
Vaughan Reed
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or