Hi, iv created a custom section and done loads of stuff in it. Now i need to use my own resource file, so, if i put my compiled DLL in the umbraco BIN where do i puit the resx file?
my namespace is "Testspace" and the resx file is named "TypeMapping" and i use the following line to load the resx
System.Resources.ResourceManager rm = new System.Resources.ResourceManager("Testspace.TypeMapping", GetType().Assembly);
You can just use the standard method, so you'd need to drop it in a App_LocalResources folder in the root of your site. Check out this Microsoft support post for more details
Using my own resx file
Hi, iv created a custom section and done loads of stuff in it. Now i need to use my own resource file, so, if i put my compiled DLL in the umbraco BIN where do i puit the resx file?
my namespace is "Testspace" and the resx file is named "TypeMapping" and i use the following line to load the resx
System.Resources.ResourceManager rm = new System.Resources.ResourceManager("Testspace.TypeMapping", GetType().Assembly);
Any help would be great!
Best Regards
Marthin
Anyone know an anwser to this? Or is it totaly optional?
Hi Marthin
You can just use the standard method, so you'd need to drop it in a App_LocalResources folder in the root of your site. Check out this Microsoft support post for more details
http://support.microsoft.com/kb/917414
Cheers
Matt
Ok, thx!
is working on a reply...