Is there a way to assign a CSS Class to a datamenuitem dynamically? I'm using an xml file to drive the navigation and instead of using seperate images for each item in the navigation I'd like to use a sprite and just assign a background-position using the CSSClass attribute on the items themselves but in the databindings I don't see a field that will accomplish this. Is there any other way to accomplish this or is this something thats in the works?
Hello Mike,Please let me know if you have any further questions regarding this issue.
I've pretty much shelved the idea for now.
If it ever becomes available in the future then I'll revisit it but for now I'm just using a seperate icon image for each menu item. Would definitely be nice to see implemented though.
- Mike