ASP.NET Menus - SiteMapControl for non-site map menu content?

Posted on 2013-02-01
Last Modified: 2013-02-01
Many times when I read about menus the article or post refers to the SiteMapControl.  I kinda get what that's about, however, I'm building just an arbitrary menu, that invokes JS functions, not page URLs.

Can I still use the SiteMapControl for that, or would I run into problems that would make that not such a good idea?

Any help with this would be appreciated.

Question by:codequest
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 41

Accepted Solution

guru_sami earned 500 total points
ID: 38844292
My understanding is that shouldn't be a problem invoking js. I haven't given it a try but at the end they are rendered links.
Edit: I take that back. With default SiteMapProvider and .sitemap file, if the url isn't a valid url in the website, the link isn't rendered.

I think in such cases you might have to write your custom SiteMapProvider.

Author Closing Comment

ID: 38844560
thanks, big help to stop thinking about that option

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question