ASP.NET Sitemap .ResourceKey property is null
<p>I'm using standard ASP.NET and a Web.sitemap file which describes the navigation structure of the site.
Now, I want to use my resourceKey attribute as a page identifier in my code, so I can perform eg. authorization checks and similar.</p>

<p>Problem is it's always null, for example when retrieving SiteMap.CurrentNode.ResourceKey</p>

<p>I have tried to set enableLocalization="true" in the Web.sitemap, and &lt;siteMap enable="true" /&gt; in Web.config but that doesn't help.</p>

<p>Any advice?</p>

<p>Thanks, Jacob</p>
