title: User control needs different resx file
body: <p>I have the following code in a User Control called View.ascx:</p>
  
  <pre><code>&lt;label&gt;&lt;asp:Label ID="lblProvince" runat="server" ResourceKey="lblProvince"&gt;&lt;/asp:Label&gt;:&lt;/label&gt;
  &lt;asp:DropDownList ID="PROVINCE" runat="server"&gt;
      &lt;asp:ListItem ResourceKey="liselectprovince"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="ab" ResourceKey="liab"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="bc" ResourceKey="libc"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="mb" ResourceKey="limb"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="nb" ResourceKey="linb"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="nf" ResourceKey="linf"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="ns" ResourceKey="lins"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="nt" ResourceKey="lint"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="nu" ResourceKey="linu"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="on" ResourceKey="lion"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="pi" ResourceKey="lipi"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="qb" ResourceKey="liqb"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="sk" ResourceKey="lisk"&gt;&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="yk" ResourceKey="liyk"&gt;&lt;/asp:ListItem&gt;
  &lt;/asp:DropDownList&gt;
  </code></pre>
  
  <p>The ResourceKey maps to values found in files View.ascx.fr-CA.resx and View.ascx.resx.</p>
  
  <p>I do not have access to the any other code on the server.  I can only do my work within a plugin of this greater software, which will embed any user control that I create.</p>
  
  <p>The rest of hte site is being rendered as en-CA.  </p>
  
  <p>I tried to programmatically set culture from my user control like so:</p>
  
  <pre><code>System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("fr-CA");
  </code></pre>
  
  <p>But that doesn't force my view.ascx to use values from view.ascx.fr-CA.resx.  Instead it still uses View.ascx.resx.</p>
  
  <p>How can I write code that will select the appropriate resx file?  I want to use view.ascx.resx on all pages with url that start with /en and view.ascx.fr-CA.resx on all pages with url that start with /fr .</p>