Click here to Skip to main content
14,872,121 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a sitemap setup and it works fine but when I try to localize it, it all falls apart. I'm this
<mvcsitemapnode title="$resources: Message, Contact" controller="Portal" action="Overview">

and it get the error

System.InvalidOperationException: The resource object with classname 'Message' and key 'Contact' was not found.

The strange thing is that this resource works on any webpage I put it on (copy and pasted to make sure spelling wasn't wrong). enableLocalization is also set to true.

Any help would be great!

1 solution

Not really a complete solution but I've only got it to work if I use a global resource file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900