简体   繁体   中英

Get uiculture using server expression tag in aspx page

我可以在globalization标签中定义的aspx页面中使用服务器表达式来获取页面的uiculture吗?

<%= Page.Uiculture %>

Well I pound out way to do it.. If you have any pls post.

alert('<%= System.Globalization.CultureInfo.CurrentUICulture %>');

This page helped.

Yes , you can get by this way

<% = Page.UICulture %>

<% = System.Globalization.CultureInfo.CurrentUICulture %>

both works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM