RTL Support in EJ 1 ASP.NET MVC PercentageTextBox

10 Jan 2018 / 1 minute to read

PercentageTextBox provides RTL (Right-To-Left) support. The alignment of PercentageTextBox can be changed from Left-To-Right into Right-To-Left.

Enable RTL

In the View page add PercentageTextBox helper, and configure the EnableRTL property.

  • cshtml
  • @Html.EJ().PercentageTextbox("percentage").Value("22").EnableRTL(true)

    Output of PercentageTextBox when EnableRTL is “true” is as follows.