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

Phonetic Algorithm




The default RadSpell spell check provider uses a phonetic algorithm in order to offer suggestions that sound similar to the mistaken word. While performing better for English and some other languages it might be a worse option for others.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</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 size-narrow">
        <textarea id="textarea1" style="width: 100%; height: 100px;">Thize are deliburat mistekrs</textarea>
        <br />
        <telerik:RadSpell RenderMode="Lightweight" ID="spell1" runat="server" ControlToCheck="textarea1" IsClientID="true"
            SpellCheckProvider="PhoneticProvider" ButtonText="Phonetic spell check"></telerik:RadSpell>
        <br />
        <textarea id="textarea2" style="width: 100%; height: 100px;">Thize are deliburat mistekrs</textarea>
        <br />
        <telerik:RadSpell RenderMode="Lightweight" ID="spell2" runat="server" ControlToCheck="textarea2" IsClientID="true"
            SpellCheckProvider="EditDistanceProvider" ButtonText="Edit distance spell check"></telerik:RadSpell>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance