RJA: Try changing your StartingNodeOffset property of the SiteMapDataSource to 1, then it should start at mainMenu or subMenu. The offset is supposed to control which node is going to be the root node, for purposes of display in menus or other controls.
It's not a good idea, I think
But I tried, and my menus don't display even in browser! And in Display-mode of VS2005, it is displayed only: root, root, root etc.
RJA:
In this article, the first example demonstrates EXACTLY, what I did. And I have no need in StartingNodeOffset property, I think.
RJA: If the subMenu is a menu under the mainMenu, what about moving that so it's nested underneath the mainMenu? Or is it supposed to be at the same level as the mainMenu?
Yes, it's nested under the mainMenu, BUT it is really far from the mainMenu, and VerticalPadding is different, so I needed two different menus.
RJA: PS - That's pretty cool actually, I don't get to see Russian code/menus often!
And we have no such big and visited forums, as this forum, in russian language
so, who is very interested in progamming (especially in ASP.NET programming, as I) OFTEN visit sites and forums in English.
Please Mark as Answer, if my post helped you.
Klim