Search results

Right-To-Left in ASP.NET MVC Button control

20 Jan 2022 / 1 minute to read

Button component has RTL support. This can be achieved by setting enableRtl as true.

The following example illustrates how to enable right-to-left support in Button component.

Copied to clipboard
@Html.EJS().Button("rtl").Content("Settings").IconCss("e-icons e-setting-icon").EnableRtl(true).Render()


button {
  margin: 25px 5px 20px 20px;

.e-setting-icon::before {
  content: '\e7cf';

Copied to clipboard
public ActionResult rtl()
    return View();