Ektron CMS400.NET API Documentation
|
This specifies which JavaScript function to run when the toolbar resets. The toolbar reset offers the opportunity for the script to affect the operation of the toolbar with actions such as adding or removing commands, disabling commands, or creating entirely new toolbars.
This is the name, not the full function definition, of a JavaScript function. The function must follow the format defined in the eWebEditPro documentation for this type of method. Below is an example:
function initToolbarCommands(sEditor, strURL, strAutoURL) { ... }
Where the "initToolbarCommands" string is given to this property.
A toolbar reset is only called when the toolbar actually resets. This often happens when the editor starts, however, if the user has been given the opportunity to save their own toolbar setup then this will not be called on startup. It is always called when the user selects to reset the toolbar.
If this string is empty, the default CMS method is called.
[Bindable(true)] [Browsable(true)] [DesignOnly(false)] [Category("Ektron")] [NotifyParentProperty(true)] [ParenthesizePropertyName(false)] [DefaultValue("")] [Description("Specifies the JavaScript function to run when the toolbar is reset.")] public string ToolbarResetCall;
<Bindable(true)> <Browsable(true)> <DesignOnly(false)> <Category("Ektron")> <NotifyParentProperty(true)> <ParenthesizePropertyName(false)> <DefaultValue("")> <Description("Specifies the JavaScript function to run when the toolbar is reset.")> Public Property ToolbarResetCall() As string
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|