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

Right-to-Left Support

RadImageButton can be placed in a right-to-left environment without issues in its appearance or functionality.

In order to switch a RadImageButton to right-to-left mode, you should set dir=rtl to its parent HTML element or use the direction:rtl CSS property. You can also do this globally for the page, e.g., on the <body>, <form> or <html> element.

Note: The right-to-left support applies only for the button text, not the background image.

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

<%@ 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>
    <link href="styles.css" rel="stylesheet" type="text/css" />
</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 player-body-bg" style="direction: rtl; text-align: center;">
        <telerik:RadImageButton runat="server" CssClass="play-button" ID="RadImageButton1" Width="110px" Height="44px" AutoPostBack="false">
            <Image Url="images/Play_normal.png" HoveredUrl="images/Play_hover.png" PressedUrl="images/Play_pressed.png" />
        </telerik:RadImageButton>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance