Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi there,
How can I manually set the CurrentCulture during a inline Razor macro script execution ?
Thanks,
Nicolas.
It's the same as you would in .NET ie.
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("es-ES");
See http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Manually set CurrentCulture
Hi there,
How can I manually set the CurrentCulture during a inline Razor macro script execution ?
Thanks,
Nicolas.
It's the same as you would in .NET ie.
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("es-ES");
See http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.