RadSmartPasteButton
Represents the Telerik SmartPaste button control that enables smart pasting functionality for Telerik controls and native HTML elements.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
[ToolboxBitmap(typeof(RadSmartPasteButton), "Toolbox.Icons.SmartPasteButton.png")]
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(KendoSmartPasteButton))]
[ClientScriptResource("Telerik.Web.UI.RadSmartPasteButton", "Telerik.Web.UI.SmartPasteButton.Scripts.RadSmartPasteButton.kendo.js", LoadOrder = 2)]
[ClientScriptResource("Telerik.Web.UI.RadSmartPasteButton", "Telerik.Web.UI.SmartPasteButton.Scripts.RadSmartPasteButton.js", LoadOrder = 3)]
[EmbeddedSkin("SmartPasteButton", typeof(RadSmartPasteButton))]
[EmbeddedSkin("SmartPasteButton", "Default", typeof(RadSmartPasteButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Classic, typeof(RadSmartPasteButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Classic, typeof(RadSmartPasteButton))]
public class RadSmartPasteButton : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IPostBackDataHandler, ISkinnableControl, IControl, IControlResolver
Inheritance: objectControlWebControlRadWebControlRadSmartPasteButton
Implements:
Inherited Members
Constructors
public RadSmartPasteButton()
Properties
Gets or sets the icon to be displayed on the SmartPasteButton when cancelling the smart paste operation. Default value is "x".
public string CancelIcon { get; set; }
Gets the client events for the SmartPasteButton. Default value is null.
[PersistenceMode(PersistenceMode.InnerProperty)]
public SmartPasteButtonClientEvents ClientEvents { get; }
Gets the form fields collection of the SmartPasteButton control. Default value is null.
[PersistenceMode(PersistenceMode.InnerProperty)]
public SmartPasteButtonFormFieldsCollection FormFields { get; }
Gets or sets the icon to be displayed on the button by default. Default value is "paste-sparkle".
public string Icon { get; set; }
Gets or sets the border radius of the SmartPasteButton. Options are Small, Medium, Large, Full. Default value is Medium.
public SmartPasteButtonRounded Rounded { get; set; }
Gets or sets the headers to be included in the request to the LLM service. Default value is an empty string.
[PersistenceMode(PersistenceMode.InnerProperty)]
public SmartPasteButtonService Service { get; }
Gets or sets the URL of the LLM service that will process the smart paste data. This is required for the SmartPasteButton to function. Default value is an empty string.
public string ServiceUrl { get; set; }
Gets or sets the size of the SmartPasteButton. Options are Small, Medium, Large. Default value is Medium.
public SmartPasteButtonSize Size { get; set; }
protected override bool SupportsRenderingMode { get; }
Overrides:
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides: