Captcha - Right-to-Left Support


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

RadCaptcha fully supports right-to-left (RTL) language locales. In order to turn on the RTL support, you should set dir=rtl to the parent element of the captcha, or set its direction:rtl CSS property.

  • DefaultCS.aspx
<%@ 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" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <telerik:RadFormDecorator RenderMode="Lightweight" ID="RadFormDecorator1" runat="server" DecorationZoneID="zoneToDecorate" DecoratedControls="All" />
    <div class="demo-container size-narrow" id="zoneToDecorate" style="direction: rtl;">
        <telerik:RadCaptcha ID="RadCaptcha1" runat="server" ErrorMessage="Page not valid. The code you entered is not valid"
        <asp:Button ID="btnVerify" runat="server" Text="Submit Page" Width="150px" ValidationGroup="Group">

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?