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

Right-to-Left Support

ذخیره
  • Option 1
  • Option 2

RadSplitButton fully supports right-to-left (RTL) language locales. In order to switch a RadSplitButton to RTL 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.

  • DefaultCS.aspx
<%@ 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>
</head>
<body>
    <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" style="direction: rtl;">
            <telerik:RadSplitButton ID="RadSplitButton1" runat="server" Width="200px"
                Text="ذخیره"
                ToolTip="ToolTip of the Split Button">
                <ContextMenu runat="server">
                    <Items>
                        <telerik:RadMenuItem Text="Option 1"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Option 2"></telerik:RadMenuItem>
                    </Items>
                </ContextMenu>
            </telerik:RadSplitButton>
        </div>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance