Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 150125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:14:26+00:00 2026-05-11T09:14:26+00:00

Is it possible to use an ASP.NET web.sitemap with a jQuery Superfish menu? If

  • 0

Is it possible to use an ASP.NET web.sitemap with a jQuery Superfish menu?

If not, are there any standards based browser agnostic plugins available that work with the web.sitemap file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:14:27+00:00Added an answer on May 11, 2026 at 9:14 am

    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 siteMap provider entry in web.config)

    My finished Masterpage.master has the following head tag:

    <head runat='server'>     <script type='text/javascript' src='/script/jquery-1.3.2.min.js'></script>     <script type='text/javascript' src='/script/superfish.js'></script>     <link href='~/css/superfish.css' type='text/css' rel='stylesheet' media='screen' runat='server' />     <script type='text/javascript'>          $(document).ready(function() {         $('ul.AspNet-Menu').superfish();         });   </script> </head> 

    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):

    <asp:SiteMapDataSource ID='SiteMapDataSource' runat='server'     ShowStartingNode='false' /> <asp:Menu ID='Menu1' runat='server'      DataSourceID='SiteMapDataSource'     Orientation='Horizontal' CssClass='sf-menu'> </asp:Menu> 

    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 a class='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.css file and search and replacing sf-menu with AspNet-Menu… and voila! the menu appeared. I thought there would be some configuration setting in the asp:Menu control where I could set the <ul> class but didn’t find any hints via google.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to use SimpleModal (jquery plugin) with ASP.NET MVC? Since it has
Possible Duplicate: Can I use ASP.NET MVC together with regular ASP.NET Web forms Let's
I want to use threads in ASP.NET web application. Is it possible to use
I have an ASP.NET web site set up to use windows authentication (not sure
Is it possible to use the ASP.Net Range validator when the format string is
Is it possible to use BackGroundWorker thread in ASP.NET 2.0 for the following scenario,
When you use ASP.NET web site (instead of web application model) and add reference
i am new on asp.net Dynamic Data. my web application are not in english
We're doing a simple implementation of Google Analytics on our ASP.NET with jQuery/AJAX web,
In ASP.Net I usually drive my primary navigation using a standard web.sitemap file such

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.