I'd like to be able to use the IsSeparator property of DataMenuItem in my menu. However the binding constructs ig:DataMenuItemBinding doesn't have an attribute to bind to this property.
How am I supposed to take advantage of data binding, and still layout a large menu system decently? The only practical solution I can think of is to create the menu entirely in code (from my data) - is there an alternative?
I've made the request. I also have my own code working - I read an XML file manually, using extra attributes for IsSeparator and Enabled, and Admin so I can maskout options according to the currently logged in users permissions. I'm also varying the graphic icons to simulate checked/unchecked options. I used the WebMenuDataCommand class in the samples as a starting point, but created DataMenuItem objects directly instead of building an Icollection hierarchy.
This also allows me to have differnet menu combinations per page, simply by changing the XPATH query I use on my MenuData.xml file, and manually alter things like the check box settings - which pull their state from the Session[]
Hello pfalcon,
The control does not have this feature so far. However it will be reasonable to implement this.
Please submit your feature request at following url : http://devcenter.infragistics.com/Protected/RequestFeature.aspx
You may need to login first.
Meanwhile, as you suggested, creating the menu items in code is the solution.
Hope this helps
ChristoD