Current Node is null when I link my page using hyperlink

Apr 22, 2010 at 9:56 PM

I am using a hyperlink to redirect to the page and I am getting the following error there

<%= SiteMap.CurrentNode.Title%> Null Reference Exception

I am using sitemap for displaying menu and it works fine when I go through by clicking menu link but not when I click this link.


My hyperlink looks like this:


<a href="../Services/test" title="test"><img src="" ..../></a>

Apr 26, 2010 at 2:56 PM

Can you try using the latest source code download?

Apr 26, 2010 at 3:02 PM

I am already using the latest version. I hope it is the release that is uploaded on Jan 25.


Jan 11, 2011 at 3:04 PM

I have the same issue. I think I have the second last release...

I can access currentnode after have clicked on a node in the menu and even after have been posted to another page by a button.
But after have clicked on a hyperlink (which reloads the page with additional GET parameters) the currentnode is null...?

Jan 13, 2011 at 12:04 PM

Can one of you reproduce a small project that has this behaviour?