Solved

Current Culture is lost.

Posted on 2003-12-05
3
410 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 Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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