Override default ResourceManagerhttp://forums.asp.net/t/1690635.aspx/1?Override+default+ResourceManagerMon, 27 Jun 2011 12:56:46 -040016906354463904http://forums.asp.net/p/1690635/4463904.aspx/1?Override+default+ResourceManagerOverride default ResourceManager <p>Hello,</p> <p>Is there a way to override the ResourceManager that is used to look up local resources? (Its an MVC2 application).</p> <p>cheers,</p> <p>Jordan.</p> <p></p> 2011-06-16T15:56:18-04:004468444http://forums.asp.net/p/1690635/4468444.aspx/1?Re+Override+default+ResourceManagerRe: Override default ResourceManager <p>Hi Jordan,</p> <p>Thanks for your post.</p> <p>What's your purpose?&nbsp; Could you be more specific on your question?</p> <p>Do you mean you&nbsp;wish to read other .resx file rather than local resource file? if so please refer:<a href="http://stackoverflow.com/questions/3405877/asp-net-resourcemanager-to-read-local-resx">http://stackoverflow.com/questions/3405877/asp-net-resourcemanager-to-read-local-resx</a>&nbsp;</p> <p>Please let me know if anything misunderstand. thanks.</p> <p>&nbsp;</p> 2011-06-20T09:04:15-04:004479808http://forums.asp.net/p/1690635/4479808.aspx/1?Re+Override+default+ResourceManagerRe: Override default ResourceManager <p>Hi,</p> <p>The link you have provided demonstrates the problem perfectly. I want to inherit from System.Resources.ResourceManager and override the GetResourceFileName() method. (We are working on a website that supports themes, and I want to take the current theme name into account when looking up the resource file name).</p> <p>The problem is that that there doesn't appear to be a way of telling the ASP.NET framework to use the new ResourceManager instead of the default one. </p> <p>many thanks,</p> <p>Jordan</p> 2011-06-27T12:56:46-04:00