<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Demos.AIPrompt.Overview.DefaultCS" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
<script src="script.js"></script>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<div class="demo-container flex-center">
<div class="demo-class">
<telerik:RadAIPrompt ID="RadAIPrompt1" runat="server" Width="450px">
<Messages PromptView="This is Prompt view" GenerateOutput="Prompt!" PromptPlaceholder="Use the WebForms Prompt to interact with AI!" PromptSuggestions="Pick a suggestion from the below list"
OutputView="This is Output View" CustomView="Customize your View" CopyOutput="Copy the Output" OutputRetryTitle="Prompt Retried" OutputTitle="This is AI generated" RetryGeneration="Retry Generation" />
<Views>
<telerik:AIPromptView Type="Prompt" />
<telerik:AIPromptView Type="Output" />
<telerik:AIPromptView Type="Commands" />
</Views>
<PromptCommands>
<telerik:ViewPromptCommand ID="Command1" Text="Simplify" Icon="min-width" />
<telerik:ViewPromptCommand ID="Command2" Text="Extend" Icon="arrows-left-right" />
</PromptCommands>
<ClientEvents OnPromptRequest="onPromptRequest" />
</telerik:RadAIPrompt>
<telerik:RadAIPrompt ID="RadAIPrompt2" runat="server" Width="450px">
<Views>
<telerik:AIPromptView Type="Prompt" />
<telerik:AIPromptView Type="Output" />
<telerik:AIPromptView Type="Commands" />
</Views>
<PromptCommands>
<telerik:ViewPromptCommand ID="Command1_1" Text="Simplify" Icon="min-width" />
<telerik:ViewPromptCommand ID="Command2_2" Text="Extend" Icon="arrows-left-right" />
</PromptCommands>
<ClientEvents OnPromptRequest="onPromptRequest" />
</telerik:RadAIPrompt>
</div>
</div>
<qsf:ConfiguratorPanel ID="ConfiguratorPanel1" runat="server">
<Views>
<qsf:View>
<qsf:ConfiguratorColumn ID="ConfiguratorColumn1" runat="server" Title="Change Message Language (Second AIPrompt only)" Size="Wide">
<ul class="fb-group">
<li>
<qsf:ComboBox ID="cbSize" runat="server" AutoPostBack="false" AllowCustomText="false" Size="Medium" OnClientSelectedIndexChanged="changeLanguage">
<Items>
<telerik:RadComboBoxItem Text="English" Selected="true" />
<telerik:RadComboBoxItem Text="Spanish" />
<telerik:RadComboBoxItem Text="German" />
</Items>
</qsf:ComboBox>
</li>
</ul>
</qsf:ConfiguratorColumn>
</qsf:View>
</Views>
</qsf:ConfiguratorPanel>
</form>
</body>
</html>