EditorToolsBase
Definition
Namespace:Telerik.Web.UI.Editor
Assembly:Telerik.Web.UI.dll
Syntax:
[EmbeddedSkin("Editor")]
[EmbeddedSkin("Editor", "Default")]
[RequiredScript(typeof(RadEditorScripts))]
public abstract class EditorToolsBase : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlEditorToolsBase
Derived Classes:
Implements:
Inherited Members
Constructors
protected EditorToolsBase()
Properties
This property instructs the tool to attach its own click handlers and not to rely on a tool adapter
[ClientControlProperty]
public bool AddClickHandler { get; }
protected virtual bool AddClientIDToRootTag { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
This property sets the tool name in the client script.
[ClientControlProperty]
public abstract string Name { get; }
Gets or sets the name of the client-side function invoked when the tool is shown.
[ClientControlEvent]
[ClientPropertyName("show")]
public virtual string OnClientShow { get; set; }
Gets or sets the name of the client-side function invoked when a value is selected.
[ClientControlEvent]
[ClientPropertyName("valueSelected")]
public virtual string OnClientValueSelected { get; set; }
protected override bool SupportsRenderingMode { get; }
Overrides:
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
Renders the opening tag of the tool wrapper and applies the skin and client ID if needed.
public override void RenderBeginTag(HtmlTextWriter writer)
The HTML writer used to render content.
Overrides:
Renders the closing tag of the tool wrapper.
public override void RenderEndTag(HtmlTextWriter writer)
The HTML writer used to render content.
Overrides: