Hi,
I'm new to CSS Friendly Control and have spent some good time on this issue, hope someone can help me out.
Issue: I have a Menu control that databind to SiteMapDataSource. On the Web.Sitemap, if I leave the root node to blank or not set any properties, the CSS Friendly Adapter will render and detect 0 MenuItem on the BuildItems(Control.Items, true, writer); and the Menu item(s) not show on the browser.
example web.sitemap
<?xml version="1.0" encoding="utf-8" ?>
<
siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" ><siteMapNode> <!-- Parent Node -->
<
siteMapNode url="~/index.aspx" title="Home" description="" /><siteMapNode url="~/sitemap.aspx" title="Site Map" />
<
siteMapNode url="~/aboutus.aspx" title="About Us" />
</
siteMapNode>
</
siteMap>
On the Menu control, I set StaticMenuLevel to 2, Orientation = Horizonal.
On the SiteMapDataSource, I set the "ShowStartingNode" = False
My question, is the parent node has to be set and invalid if it leaves blank? If no, how can I make the Menu visible on the browser?
Hope someone can help.
Thanks