From my Content MasterPage I want get the StartingNodeUrl and programmatically set it:
Example of what I'm trying to do:
<'asp:SiteMapDataSource ID="SiteMapDataSource1" StartingNodeUrl="<%= SomeMethod()%>" runat="server" />
but that gives the error:
Could not find the sitemap node with URL '<%=SomeMethod() %>'.
Is it possible to do this?