Spell - Right-To-Left Support

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

The RadSpell fully supports right-to-left (RTL) language locales. In order to turn on the RTL support you should set its DialogsCssFile property to an external CSS file in which you have the direction: rtl property set for the html or body element.

  • DefaultCS.aspx
  • dialogsRTL.css
<%@ Page Language="c#" AutoEventWireup="true"  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<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-thin" style="direction: rtl;">
        <asp:TextBox ID="TextBox1" runat="server" Width="100%" Height="100" TextMode="MultiLine">mizpelled conttent</asp:TextBox>
        <telerik:RadSpell RenderMode="Lightweight" ID="RadSpell1" runat="server" ControlToCheck="TextBox1" DialogsCssFile="dialogsRTL.css" />
    </div>
    </form>
</body>
</html>

Find Assistance

Help Us Improve

Was this example helpful?