I've bound a button to a resource using the new expression using a classKey/ressource name pair:
<asp:Button ID="Button1" runat="server" Text="<%$ Resources:ResourceWeb,MyResource %>" />
I've created 2 resource files for this. ResourceWeb.resx and ResourceWeb.fr.resx
When I change the culture using:
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr");
The button still shows the text in the default resource and doesn't switch to fr
How can we change the culture of our page dynamically when using the classKey as an alternative to the resource manager?
-- Using VS 2005 Beta 2