Hi,
You can add the custom property for the sitemapnode in the web.sitemap, like below:
-<siteMapNode title="root" url="" image="~/App_Themes/Theme1/image/007004.gif" >
<siteMapNode title="Home Page" url="~/Index.aspx" />
<siteMapNode title="Pubs" url="~/...." />
<siteMapNode title="Calendar" url="~/..." />
And apply it for the nodes, like below:
protected void Menu1_MenuItemDataBound(object sender, MenuEventArgs e)
{
SiteMapNode smn = (SiteMapNode)e.Item.DataItem;
e.Item.ImageUrl = smn["image"];
}
hope it helps.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Yours sincerely,
Amanda Wang
Microsoft Online Community Support