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

WebForms SpeechToTextButton Overview

Additional Information
Click the mic to speak

The WebForms SpeechToTextButton component provides speech-to-text functionality. It allows users to convert spoken words into text through a button interface that activates speech recognition capabilities.

The current example displays how you can initialize a basic SpeechToTextButton with a TextBox.

Telerik WebForms SpeechToTextButton is part of Telerik UI for ASP.NET AJAX, which is a comprehensive toolset containing over 120 controls and taking care of the common functionalities, allowing you more time to focus mainly on the business-specific logic of your application.

For more information about the Telerik WebForms SpeechToTextButton Control, please refer to the documentation.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • script.js
  • style.css
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs"  Inherits="SpeechToTextButton_Overview_DefaultCS" %>

<!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" runat="server">
        <div class="info-wrapper">
            <div class="sidebar"></div>
            <div class="info-container">
                <div class="info-header">
                    <div class="avatar"></div>
                    <span class="title">Additional Information</span>
                </div>
                <div class="rect-field-sm"></div>
                <div class="rect-field"></div>
                <label class="message-label">Project Impact Summary</label>
                <div class="main-container">
                    <telerik:RadTextBox ID="RadTextBox1" runat="server" Width="400px" Height="100px" Skin="Default"
                        EmptyMessage="Describe a project you worked on that had a strong impact." TextMode="MultiLine" />

                    <div class="sttb-container">
                        <span class="description">Click the mic to speak</span>
                        <telerik:RadSpeechToTextButton ID="SpeechToTextButton1" runat="server" Skin="Default" ThemeColor="Base" FillMode="Flat">
                            <ClientEvents OnStart="onStart" OnEnd="onEnd" OnResult="onResult" />
                        </telerik:RadSpeechToTextButton>
                    </div>
                </div>
                <br />
                <div class="rect-field-sm"></div>
                <div class="rect-field"></div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance