|
Rank: Newbie Groups: Member
Joined: 2/28/2013 Posts: 5
|
In your Menu demo (Office 2003) between 'Styles' and 'Foreground Color' there is a horizontal line/separator. How do I create this, I am generating my menu by databinding an XML document.
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
That's a separator item. You can take a look of EO.Web Menu -> Using EO.Web Menu, then "Look, Skin and Theme" and "Style and Appearance" section for more details about how to customize styles for each type of items.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/28/2013 Posts: 5
|
I am not looking to customize the style of the item.
I am looking for details of what the datarow should be in my XML document to indicate that I want a separator.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
I believe you will have to handle ItemCreated event, then inside that event handler to manually examine the current DataItem (It should be an XmlNode object), you can then set the newly created item's IsSeparator to true based on whatever attributes on your XmlNode.
Thanks!
|
|