I am currently implementing a master page which is able to show the submenu of a current product level.
When using this code, all works fine:
<asp:SiteMapDataSource ShowStartingNode="False" ID="SideMenuDataSource" runat="server" StartingNodeUrl="products/updater/" />
But, when I am using this:
<asp:SiteMapDataSource ShowStartingNode="False" ID="SideMenuDataSource" runat="server" StartingNodeUrl="<%# GVHSoftware.Menu.GetParentURL() %>" />
it always shows the root menu. And I am 100% sure the function is returning the right result since I am printing the result of that function on the same page.
The test page (with the problem) can be found here.
Any idea why the SiteMapDataSource is only working in hard-coded mode?
Best regards,
Geert
Geert -
http://www.catenalogic.comNeed an advanced auto-update feature for your software? Try
Updater!