Yes, of course!
On 6/1/06, Jochen Jonckheere <[EMAIL PROTECTED]> wrote: > > Micheal, > > The culture is set in the Global.asax in the function > Application_AcquireRequestState. There a session variable is checked > and the culture is set to the users culture. > > Writing this I think addind RequireSessionState as paramater to the > WebMethod would do the trick for me. > > Jochen > > Michael Schwarz schrieb: > > > Hi, > > > > where do you store the culture or where do you set it? > > > > Regards, > > Michael > > > > > > On 5/31/06, Jochen Jonckheere <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > When I create a ResourceManager in an AjaxMethod it doesn't return the > > > resource I expected. The problem is that the > > > CurrentThread.CurrentCulture is wrong. > > > > > > When a user logs in to the website the CurrentThread.CurrentCulture and > > > CurrentThread.CurrentUICulture is set to user's culture/language. But > > > the Thread used when caling an AjaxMethod doesn't have this culture, > > > but a default culture. > > > > > > Is there a fix for this? > > > > > > Regards, > > > > > > Jochen > > > > > > > > > > > > > > > > > > > -- > > Best regards | Schöne Grüße > > Michael > > > > Microsoft MVP - Most Valuable Professional > > Microsoft MCAD - Certified Application Developer > > > > http://weblogs.asp.net/mschwarz/ > > http://www.schwarz-interactive.de/ > > mailto:[EMAIL PROTECTED] > > > > > -- Best regards | Schöne Grüße Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
