RTL Support

10 Jan 20181 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.