Search results

Right-To-Left

RadioButton 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 RadioButton component.

razor
rtl.cs
@section ControlsSection{
     @Html.EJS().RadioButton("radio1").Label("Default").Name("default").EnableRtl(true).Render()
}


<style>

.e-radio-wrapper {
  margin-top: 18px;
}

li {
  list-style: none;
}

</style>
public ActionResult Rtl()
{
    return View();
}