RadAIPrompt
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ToolboxBitmap(typeof(RadAIPrompt), "Toolbox.Icons.AIPrompt.png")]
[RequiredScript(typeof(jQueryPlugins), 1)]
[RequiredScript(typeof(Html5AIPrompt), 2)]
[RequiredScript(typeof(Html5AIPromptViews), 3)]
[ClientScriptResource("Telerik.Web.UI.RadAIPrompt", "Telerik.Web.UI.AIPrompt.Scripts.RadAIPrompt.kendo.js", LoadOrder = 4)]
[ClientScriptResource("Telerik.Web.UI.RadAIPrompt", "Telerik.Web.UI.AIPrompt.Scripts.RadAIPromptViews.kendo.js", LoadOrder = 5)]
[ClientScriptResource("Telerik.Web.UI.RadAIPrompt", "Telerik.Web.UI.AIPrompt.Scripts.RadAIPrompt.js", LoadOrder = 6)]
[EmbeddedSkin("AIPrompt", typeof(RadAIPrompt))]
[EmbeddedSkin("AIPrompt", "Default", typeof(RadAIPrompt))]
public class RadAIPrompt : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadAIPrompt
Implements:
Inherited Members
Constructors
public RadAIPrompt()
Properties
Specifies the index of the active view or the name of the view.
public int ActiveViewIndex { get; set; }
ClientEvents
AIPromptClientEvents
Defines the client events handlers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public AIPromptClientEvents ClientEvents { 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:
Messages
Messages
The text messages displayed in the component. Use this option to customize or localize the messages.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Messages Messages { get; }
The commands to display in the prompt view.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ViewPromptCommandsCollection PromptCommands { get; }
An array of prompt outputs to display in the prompt view.
[PersistenceMode(PersistenceMode.InnerProperty)]
public PromptOutputsCollection PromptOutputs { get; }
The template of the prompt suggestion item. It can be a string, a function or a Kendo Template.
[Browsable(true)]
[Bindable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public string PromptSuggestionItemTemplate { get; set; }
An array of prompt suggestions as strings to display in the prompt view. The suggestions can be clicked to populate the prompt input.
[TypeConverter(typeof(StringArrayConverter))]
public string[] PromptSuggestions { get; set; }
Specifies if the output rating should be displayed on the output card.
public bool ShowOutputRating { get; set; }
protected override bool SupportsRenderingMode { get; }
Overrides:
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
An array of toolbar items to display in the header Toolbar. They will be rendered after the items generated from the configurations of the views.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ToolbarItemsCollection ToolbarItems { get; }
An array of view configurations.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ViewsCollection Views { get; }
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected override void TrackViewState()
Overrides: