Hi, guys.
I've met the next problem:
in .aspx file for RadEditor control property "ToolbarMode" is setted as ToolbarMode="ShowOnFocus".
In FullScreen mode I want to set toolbar mode to be shown all the time (like ToolbarMode="Default").
I'm using the OnClientCommandExecuted="onClientCommandExecuted" handler:
But unfortunately it does not help.
Was something linked with that article: article done?
I've met the next problem:
in .aspx file for RadEditor control property "ToolbarMode" is setted as ToolbarMode="ShowOnFocus".
In FullScreen mode I want to set toolbar mode to be shown all the time (like ToolbarMode="Default").
I'm using the OnClientCommandExecuted="onClientCommandExecuted" handler:
function onClientCommandExecuted(editor, args) |
{ |
if (args.get_commandName() == "ToggleScreenMode") |
{ |
if (editor.isFullScreen()) |
{ |
setTimeout(function () { editor.set_toolbarMode(undefined); }, 500); |
// also was tried: |
// editor.set_toolbarMode(undefined); |
// editor.set_toolbarMode(null); |
// editor.set_toolbarMode(0); |
// editor.set_toolbarMode(-1); |
} |
else |
{ |
setTimeout(function () { editor.set_toolbarMode(8); }, 500); |
} |
} |
} |
Was something linked with that article: article done?