New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Set a Custom Size for a Built-in Dialog of RadEditor


Product Version 2013.3
Product RadEditor for ASP.NET AJAX


The solution below shows how to set a custom Size for a Built-in Dialog of RadEditor.


The var commandName = args.get_commandName(); line will return the command name of the opened dialog being ImageManager, LinkManager or another one, you can use it to add a check for the desired dialog you'd like to modify:

    function OnClientCommandExecuted(editor, args) {
        if (editor.get_dialogOpener()) {
            var commandName = args.get_commandName();

            if (editor.get_dialogOpener()._getDialogContainer) {
                dialogReference = editor.get_dialogOpener()._getDialogContainer(commandName);
                setTimeout(function () {

                }, 1000);

<telerik:RadEditor ID="RadEditor1" runat="server"  OnClientCommandExecuted="OnClientCommandExecuted">
    <ImageManager ViewPaths="~/" />

See Also

In this article