I was able to get this working by manually binding the SeperatorImageURL in the DataBound event. I had to use a separator image though, in this case the separator image was 150px wide. I still do not understand why the MenuItemBinding fields SeperatorImageURLField and ImageURLField do not work.
OT: How would I implement this in CSS Adapters, specifically setting the style of specific Menu item to have a bottom border of 1px (Not all items in a menu level!). I realize this in not the Adapters forum, but perhaps someone can provide a link to an example? I looked at the white paper that came with the adapters tutorial and was overwhelmed.
'Code to bind the Separator Image to a specific menu item from an XML file. { Edit code is not working?? :( }
Private Sub mnuControl_MenuItemDataBound(ByVal sender As Object, _
ByVal e As System.Web.UI.WebControls.MenuEventArgs) Handles mnuControl.MenuItemDataBound
Dim menuItem As MenuItem = CType(e.Item, MenuItem)
Dim menuNode As XmlElement = CType(e.Item.DataItem, XmlElement)
Dim SeperatorImageURL As XmlAttribute = menuNode.Attributes.ItemOf("SeparatorImageUrl")
If SeperatorImageURL IsNot Nothing Then menuItem.SeparatorImageUrl = SeperatorImageURL.Value
End Sub
David Williams MCP
.Net Senior Developer