Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2004, 01:50 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to sfs00784 Send a message via MSN to sfs00784
Default How to change the globalization dynamically?

Is there any method to change the globalization dynamically with the control of other dotnet pages?

I would like to build a web page with mutiple language by changing the skin of the web pages.

However, how to assign the following back to the web.config?
<globalization fileEncoding="" requestEncoding="" responseEncoding="" culture="" uiCulture="" />

My first idea is assign some variables into the web.config and change the variable by the skind later, but how?

Hope somebody can help me to solve this question, thanks.

|:|KUNG|:|
 
Old July 16th, 2004, 04:13 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

You can handle the globalization variable like this
Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE");







Similar Threads
Thread Thread Starter Forum Replies Last Post
how to dynamically change an HTML page kpnikhil PHP How-To 1 September 7th, 2007 03:53 AM
Dynamically change html code of a page YiannisF ASP.NET 1.0 and 1.1 Basics 2 July 29th, 2004 01:38 AM
How to change report's objects dynamically. Vadim Crystal Reports 2 May 17th, 2004 09:40 AM
Change a button's name dynamically pigtail Javascript 2 April 11th, 2004 06:02 PM
Dynamically change event handlers oranginalab Javascript How-To 2 July 31st, 2003 10:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.