Setting UIculture in code

  • Thread starter Thread starter Klaus Jensen
  • Start date Start date
K

Klaus Jensen

Hi

This question relates to ASP.Net 1.1 - NOT 2.0

I want to set a site-wide UIculture from code. I know it can be set in
web.config, but can it be set in code? For instance in Application_onstart.

All other configuration is stored in a database for these sites (20+), and I
want to be able to put the UIculture in there as well.
 
You should set it in global.asax in the Application_BeginRequest if it's
the same for every user, or in Application_AuthenticateRequest if it's different
for each user, or in Application_AcquireRequestState if you need to load
the info from Session state.

-Brock
http://staff.develop.com/ballen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top