Solved

Current Culture is lost.

Posted on 2003-12-05
3
412 Views
Last Modified: 2011-09-20
When I set a culture (german) on a login page I loose it on another.
Is the setting page specific only?
This is what I do:

            CultureInfo = New wwCultureInfo()
            Thread.CurrentThread.CurrentCulture = New CultureInfo("de-de")

How can I set the culture for the whole application?
0
Comment
Question by:andw928
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
TwoSide earned 40 total points
ID: 9885131
You can add a globalization key in web.config file.

<configuration>
   <system.web>
              <globalization requestEncoding="any valid encoding string"
                                   responseEncoding="any valid encoding string"
                                   fileEncoding="any valid encoding string"
                                   culture="any valid culture string"
                                   uiCulture="any valid culture string"/>
   </system.web>
</configuration>
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10246803
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: TwoSide {http:#9885131}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question