RTL Support in EJ 1 ASP.NET MVC TagCloud
5 Oct 2015 / 1 minute to read
The EnableRTL feature supports you to change the left-to-right alignment of the TagCloud widget to right-to-left (RTL). This displays the content from right-to-left in the widget. You can achieve this using EnableRTL property that is set false by default.
Enabling RTL Support
The following steps explains you the EnableRTL property in TagCloud.
<%-- Configure datasource referring local data binding section and assign it to datasource property -- %>
@Html.EJ().TagCloud("tagcloud").Datasource((IEnumerable<WebsiteCollection>)ViewBag.datasource)
.TagCloudFields(tag => tag.Text("Text").Url("Url")
.Frequency("Frequency"))
.Title("Tech sites")
.EnableRTL(true)
The following screenshot illustrates the TagCloud control with RTL support.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page