i am able to change the Page Culture through code like below, but how to set the culture for the WebApplication or the current session of the User instead only for the Page?
Dim ci As New CultureInfo("de-DE")
Thread.CurrentThread.CurrentUICulture = ci
thanks for the links. i have read the articles and come to the following point:
- I dont need application wide ui setting (cause each user can set his own language)
- i dont need page specific settings cause this is static, too
I think i need Thread specific UI Settings. But does that mean, that i need to store the UI in a Session Variable for example and set the Thread UI on every page load or init?
sharepointkb
Member
58 Points
42 Posts
How to set the Culture for the Session of the User not only WebPage
Aug 17, 2011 06:32 PM|LINK
Hi,
i am able to change the Page Culture through code like below, but how to set the culture for the WebApplication or the current session of the User instead only for the Page?
Dim ci As New CultureInfo("de-DE") Thread.CurrentThread.CurrentUICulture = cisatishkumar....
Participant
826 Points
128 Posts
Re: How to set the Culture for the Session of the User not only WebPage
Aug 18, 2011 06:02 AM|LINK
hi ,
please refer the links below
1) http://support.microsoft.com/kb/306162
2)http://www.codeproject.com/KB/aspnet/ChangeCultures.aspx
thanks
sharepointkb
Member
58 Points
42 Posts
Re: How to set the Culture for the Session of the User not only WebPage
Aug 18, 2011 07:15 AM|LINK
thanks for the links. i have read the articles and come to the following point:
- I dont need application wide ui setting (cause each user can set his own language)
- i dont need page specific settings cause this is static, too
I think i need Thread specific UI Settings. But does that mean, that i need to store the UI in a Session Variable for example and set the Thread UI on every page load or init?
satishkumar....
Participant
826 Points
128 Posts
Re: How to set the Culture for the Session of the User not only WebPage
Aug 18, 2011 07:35 AM|LINK
hi ,
please check the link bleow which will guide to set Culture(Gobal or application) and UICulture(page leve setting)
http://msdn.microsoft.com/en-us/library/bz9tc508.aspx
thanks