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

Multiple Languages


In the sample above we have added two languages to the language dropdown. You can achive this using the "SupportedLanguages" property. The format is:
dictionary name,description,dictionary name,description
e.g.
<telerik:RadSpell Runat="server" SupportedLanguages="en-US,English,fr-FR,French" ... />
The default selected language is the language set as the "DictionaryLanguage" property.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page CodeFile="DefaultCS.aspx.cs" Language="C#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Spell.MultipleLanguages.DefaultCS" %>

<%@ 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">
        <asp:TextBox ID="textBox1" runat="server" Width="100%" Height="100px" TextMode="MultiLine">Thisz is a server side TextBox with some delibirate mistakees.</asp:TextBox>
        <br />
        <telerik:RadSpell RenderMode="Lightweight" ID="spell1" runat="server" ControlToCheck="textBox1" SupportedLanguages="en-US,English,fr-FR,French"></telerik:RadSpell>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance