Set culture in the web.config : Culture « Page « ASP.Net






Set culture in the web.config

<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
  <system.web>
    <anonymousIdentification enabled="true"/>

    <profile>
      <properties>
        <add 
          name="UserCulture"
          defaultValue="en-US" />
        <add 
          name="UserUICulture"
          defaultValue="en" />
      </properties>
    </profile>
  </system.web>
</configuration>

           
       








Related examples in the same category

1.Page Culture (C#)
2.Get culture from binded ObjectDataSource (C#)
3.Culture: id-ID
4.Culture auto (C#)
5.Get Culture: de_DE, id-ID (C#)