Jochen Jonckheere schrieb: > 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. > > Is there a fix for this?
The "Problem" is the every HttpHandler has to specify a culture for itself. There is no mechanism like in the Page-Class. But it may helps if Ajax.NET Pro do a Callback to a specified method at the beginning of the Request, and within that request Ajax.NET ask the Application for setting the Culture. This maybe have some sideeffect on the JavaScriptSerializer. So the Serializer must be adapted to be Convert with a specified en-US Culture, because JavaScript don't like localized Dates and Numberformats. -- Freundliche Grüße Albert Weinert http://der-albert.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
