I know I'm doing something fundamentally wrong, but I can't quite figure it out...
I have 2 resource files in my App_GlobalResources folder: Global.resx and Global.fr-CA.resx.
I have the following label on my webform:
<asp:Label ID="Label1" runat="server" Text="<%$ Resources:Global, Test %>" />
When I run the form, it displays the value correctly from Global.resx. Now, in code-behind, I want to manually change the culture to pull from my fr-CA resx file:
Page.UICulture = "fr";
Page.Culture = "fr-CA";
However, when I re-run the app it doesn't pull the value from Global.fr-CA.resx - it still pulls from Global.resx. What am I doing wrong?
Thanks!!