Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:652834
More Search Options
RSS Available
Matching Posts
Re: How to do a language switch in a master page.
I have some help from rmprimo now it's working very good. Even better than the tutorials in asp.net website (the tutorials the save the language must be submitted 2 times for the change to be applied) I used query string for language switching : string sLang = string .Empty; HttpCookie oCookie = Request.Cookies[ "LANGUAGE" ]; if (Request.QueryString[ "lang" ] != null ) { sLang = Request.QueryString[ "lang" ]; HttpCookie oCookieSet = new HttpCookie( "LANGUAGE" ); oCookieSet.Value = Request.QueryString
Posted to
FAQ - Frequently Asked Questions
(Forum)
by
ludo018
on 4/12/2006
Re: How to do a language switch in a master page.
The same for me i'll try this code and didn't seems to works. i'll try some response.write to understand. System.Threading.Thread.CurrentThread.CurrentCulture.ToString()=fr-FR and after affectation the Culture System.Threading.Thread.CurrentThread.CurrentCulture.ToString()=en-US so the lang have switch but my ressources is not use in the good language. I've try the change my navigator language and all works good. I think the Application_BeginRequest append to late? If anyone could help please.
Posted to
FAQ - Frequently Asked Questions
(Forum)
by
ludo018
on 4/11/2006
Page 1 of 1 (2 items)
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online