Last post Aug 29, 2008 10:19 PM by NecroxPy
Aug 22, 2008 10:25 AM|Alko89|LINK
I have this TheBeerHouse statrer kit and I tryed to make a culture selector to template.master
Now I get this exception The name 'Slovenian (Slovenia)' contains characters that are not valid for a Culture or Region.
I don't know what it means and I don't know what to do
Here is the code:
Aug 23, 2008 12:21 AM|NecroxPy|LINK
Slovenian(Slovenia). In the web.config in the globalization line you must us culture="sl-SI" and uiCulture="sl-SI"
Aug 25, 2008 02:19 AM|Alko89|LINK
No that didn't solved the problem
By the way I get this exception in this line:
Aug 29, 2008 10:19 PM|NecroxPy|LINK
Hi, try this:
ProfileCommon common = HttpContext.Current.Profile as ProfileCommon;
this.Culture = common.Preferences.Culture;