Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 28, 2013 03:49 AM by kashifdotnet
Feb 25, 2013 08:24 AM|LINK
I am new to Localization/Globalization. Is setting the Culture
and UICulture enough to define the direction of the page (left-to-right or RtL) or we still have to use the
'dir' attribute. For example, if i have a site in Arabic and after setting the Culture and UICulture to say ar-OM, will it also automatically set the page direction to Right-to-Left or I still have to use the 'dir' attribute.
Feb 26, 2013 06:08 AM|LINK
No setting Culture and UICulture will not define page direction ,But you can define it once in master page by setting dir property in main container control
dir="<%=Type your recource %>"
take a look at this
Feb 28, 2013 03:49 AM|LINK
I had a similar feeling that setting Culture and UICulture doesn't set the page direction. We have to set the page direction manually. Just for anyone inquisite, we can set the direction at both the page level (using
dir attribute in the html tag) or at a control level (for example a div). Your reply has cleared my doubts. Thanks.