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
> 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.
0 comments:
Post a Comment