Last post Aug 21, 2010 12:30 PM by ketan_al
Aug 20, 2010 11:28 AM|Bow99|LINK
I have a class library called WEM.portal which used Resource files to localise text in my composite controls.
I store my resource files (eg MyResourceFile1.resx) in App_GlobalResources folder and then refer to them using
MyLabel1.text = My.Resources.MyResourceFile1.MyResourceKey1
This is all working ok until I create seperate files for each language such as MyResourceFile1.FR-fr.resx.
I have implemented this throughout my other web applications but the Class Library doesnt seem to want to work the same way
When I load the page it correctly showes the resourced keys which I have done through the web application BUT the resource keys in the composite controls does not seem to pick up the culture code.
Am I missing something stupid. Ive tried
Aug 21, 2010 12:30 PM|ketan_al|LINK
You can use HttpContext.GetGlobalResourceObject. Please refer following
hope this helps