Represents the SmartPasteButton Form Field. Used to define fields/target controls for smart paste operations.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class SmartPasteButtonFormField : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck
Inheritance: objectStateManagerSmartPasteButtonFormField
Implements:
Inherited Members
Constructors
public SmartPasteButtonFormField()
Properties
Gets or sets the list of allowed values as a string array.
[TypeConverter(typeof(StringArrayConverter))]
public string[] AllowedValues { get; set; }
The values are stored as a comma-delimited list and can be used to specify constraints on the allowed returned values. IMPORTANT: These values are sent to the LLM as part of the prompt to guide its responses, defining too many options will increase the input token count.
Gets or sets the Target Control/Element ID. Default is an empty string.
public string ControlID { get; set; }
Gets or sets the description for the form field.
public string Description { get; set; }
Used to supply extra information for LLMs, such as the field’s description, data type, format, or constraints.