ColorPicker - Right-to-Left Support

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

The RadColorPicker fully supports right-to-left (RTL) language locales. The RadColorPicker is created and added to the page as a child of the body element and in order to turn on the RTL support you should set dir=rtl to the html or body elements or set the direction:rtl CSS property.

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

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ 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" />
    <div class="demo-containers">
        <div class="demo-container" dir="rtl">
            <telerik:RadColorPicker RenderMode="Lightweight" runat="server" ID="RadColorPicker1" PaletteModes="All">

Find Assistance

Help Us Improve

Was this example helpful?