New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents the SmartPasteButton Form Field. Used to define fields/target controls for smart paste operations.

Definition

Constructors

C#
public SmartPasteButtonFormField()

Properties

Gets or sets the list of allowed values as a string array.

C#
[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.

C#
public string ControlID { get; set; }

Gets or sets the description for the form field.

C#
public string Description { get; set; }

Used to supply extra information for LLMs, such as the field’s description, data type, format, or constraints.