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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...