RTL in EJ 1 ASP.NET MVC TimePicker
24 May 2017 / 1 minute to read
This feature supports to change the left-to-right alignment of the TimePicker widget to right-to-left when set the EnableRTL as true. By default EnableRTL value is set as “false”. The custom template TimePicker also supports RTL.
Enabling Right-To-Left Support
The following steps explains you in enabling the right-to-left property for the TimePicker.
- Add the following code to the corresponding view page to render the TimePicker.
@*Add the following code example to the corresponding CSHTML page to render TimePicker widget with right to left appearance*@ @Html.EJ().TimePicker("time").EnableRTL(true)
The following screenshot illustrates a TimePicker control when EnableRTL is set to “true”