Gantt - Right-to-left Support

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB
RadGantt supports right-to-left presentation. You merely need to set the dir property for the control to "rtl".

RadGantt renders RadGantt_rtl class and RadGantt_SkinName_rtl when placed in element with dir set to "rtl". This further facilitates skinning RadGantt and providing RTL specific settings.
  • DefaultVB.aspx
  • DefaultVB.aspx.vb
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.Web.Examples.GanttExamples.AccessibilityAndInternationalization.RightToLeftSupport.DefaultVB"  %>

<!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 no-bg">
        <telerik:RadGantt RenderMode="Lightweight" ID="RadGantt1" dir="rtl" Height="450px" SelectedView="MonthView" runat="server"
            DisplayDeleteConfirmation="false" ListWidth="50%">
        </telerik:RadGantt>
    </div>

    </form>
</body>
</html>

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?