Hello,
I'm having problem to change the Radeditor toolbar dynamically in the Client script after aspx page load. I would like to load the different toolbar for the Radeditor on the fly depending on different user context selection so that the toolbar would have different function buttons available. I execute the following JavaScript code but the toolbar buttons do not reflect what I defined in the toolsfile xml file. Do I need to call other client api to force reload the toolbar file?
launchEditor: function (editor, title) {
if (title = 'Dsplay Name') {
editor.ToosFile = "~/Toolbar/DisplayNameToobar.xml";
} else if (title = 'FootNote') {
editor.ToosFile = "~/Toolbar/FootNoteToobar.xml";
} else {
editor.ToosFile = "~/Toolbar/MiscToobar.xml";
}
},
Thanks,
Chuck
I'm having problem to change the Radeditor toolbar dynamically in the Client script after aspx page load. I would like to load the different toolbar for the Radeditor on the fly depending on different user context selection so that the toolbar would have different function buttons available. I execute the following JavaScript code but the toolbar buttons do not reflect what I defined in the toolsfile xml file. Do I need to call other client api to force reload the toolbar file?
launchEditor: function (editor, title) {
if (title = 'Dsplay Name') {
editor.ToosFile = "~/Toolbar/DisplayNameToobar.xml";
} else if (title = 'FootNote') {
editor.ToosFile = "~/Toolbar/FootNoteToobar.xml";
} else {
editor.ToosFile = "~/Toolbar/MiscToobar.xml";
}
},
Thanks,
Chuck