Click here to Skip to main content
15,064,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
On my web site, I am using Global Resource option of ‘Globalization’. I have also created my custom library for resourceProviderFactoryType.

I have following entry in my main site web.config file:-
XML
<globalization  resourceProviderFactoryType= "LibName" uiCulture="auto" enableClientBasedCulture="true" />


On my site pages, controls have Attributes like
C#
Text="<%$ resources:Text, 271715 %>"
which are working fine till now.

But Now our requirement is to use “App_LocalResources” for a sub folder in our main site where pages below in the sub folder can have attributes like
XML
"meta:resourcekey="lblHomeResource1""


Although in web.config file of the sub folder we have
XML
<globalization uiCulture="en-US"/>
Key, but it is not taking any effect.
It uses web.config from our main web-site and ignores its sub folder web.config key for globalization,
Thus we are getting compilation errors saying
“Error 125 The method or operation is not implemented.”

Please provide solution for different globalization at web site folders level

Thanks.
Posted
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900