开发者

Localization in javascript via IHttpHandlers

What's the best way to acces .resx files in a Http Handler in AS开发者_运维知识库P.NET?

I need to access them in javascript. My goal is to serialize them in JSON via a IHttpHandler. The problem is that I simply can't figure out which .resx I should load according to request language.

Thanks!


you can use GetGlobaResourceObject or GetLocalResourceObject as here

http://msdn.microsoft.com/en-us/library/ms227982.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜