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

Right-to-Left Support

The RadPushButton fully supports right-to-left (RTL) language locales (Figure 1). In order to turn on the RTL support you should set dir=rtl to the html or body element or at least to its parent element (Figure 1). You can also use the direction:rtl CSS property.

Figure 1: RadPushButton in RTL mode.


Example 1: Set the "direction: rtl" style to the RadPushButton's wrapper element in order to enable the RTL support for the control.

<div style="direction: rtl">
    <telerik:RadPushButton runat="server" ID="RadPushButton1" Text="RadPushButton">
    <br />
    <br />
    <telerik:RadPushButton runat="server" ID="RadPushButton2" Text="RadPushButton with Icon">
        <Icon CssClass="rbUpload" />

See Also

In this article