Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found this question while looking for the same answer… everyone says it’s possible but no-one gives the actual solution! I seem to have it working now so thought I’d post my findings…
Things I needed:
Superfish which also includes a version of jQuery
CSS Friendly Control Adaptors download DLL and .browsers file (into /bin and /App_Browsers folders respectively)
ASP.NET SiteMap (a .sitemap XML file and
siteMapprovider entry in web.config)My finished
Masterpage.masterhas the followingheadtag:Which is basically all the stuff needed for the jQuery Superfish menu to work. Inside the page (where the menu goes) looks like this (based on these instructions):
Based on the documentation, this seems like it SHOULD work – but it doesn’t. The reason is that the
CssClass='sf-menu'gets overwritten when the Menu is rendered and the<ul>tag gets aclass='AspNet-Menu'. I thought the line$('ul.AspNet-Menu').superfish();would help, but it didn’t.ONE MORE THING
Although it is a hack (and please someone point me to the correct solution) I was able to get it working by opening the
superfish.cssfile and search and replacing sf-menu with AspNet-Menu… and voila! the menu appeared. I thought there would be some configuration setting in theasp:Menucontrol where I could set the<ul>class but didn’t find any hints via google.