1

Can I get uiculture of a page using server expression in aspx page defined in globalization tag?

<%= Page.Uiculture %>
Nishantha
  • 6,065
  • 6
  • 33
  • 51

2 Answers2

0

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

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

This page helped.

Community
  • 1
  • 1
Nishantha
  • 6,065
  • 6
  • 33
  • 51
0

Yes , you can get by this way

<% = Page.UICulture %>

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

both works fine.

moks
  • 99
  • 5