Search results

Enable RTL in ASP.NET Core ButtonGroup control

29 Jul 2021 / 1 minute to read

ButtonGroup supports RTL functionality. This can be achieved by adding e-rtl class to the target element.

The following example illustrates how to create ButtonGroup with RTL support.

tagHelper
default.cs
Copied to clipboard
<div class='e-btn-group e-rtl'>
    <ejs-button id="html" content="HTML"></ejs-button>
    <ejs-button id="css" content="CSS"></ejs-button>
    <ejs-button id="javascript" content="Javascript"></ejs-button>
</div>
Copied to clipboard
public ActionResult Index()
    {
            return View();
    }