Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • marthin 87 posts 106 karma points
    Feb 09, 2010 @ 15:29
    marthin
    0

    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

     

     

  • marthin 87 posts 106 karma points
    Sep 15, 2010 @ 09:49
    marthin
    0

    Anyone know an anwser to this? Or is it totaly optional?

  • Matt Brailsford 4125 posts 22224 karma points MVP 9x c-trib
    Sep 15, 2010 @ 09:52
    Matt Brailsford
    0

    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

  • marthin 87 posts 106 karma points
    Sep 23, 2010 @ 15:03
    marthin
    0

    Ok, thx!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies