Solved

Current Culture is lost.

Posted on 2003-12-05
3
401 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
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now