• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

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

Many times when I read about asp.net 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.

1 Solution
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.
codequestAuthor Commented:
thanks, big help to stop thinking about that option
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now