RTL Support in EJ 1 ASP.NET MVC NumericTextBox

10 Jan 2018 / 1 minute to read

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

Enable RTL

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

  • cshtml
  • @Html.EJ().NumericTextbox("numeric").Value("11").EnableRTL(true)

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

    RTL-Support_img1

    NumericTextBox with enableRTL