Search

You searched for the word(s): userid:652834

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
  • 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.
Page 1 of 1 (2 items)