Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
DataBind a CSS class
posted

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?

Parents Reply Children