Solved

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

Posted on 2013-02-01
2
225 Views
Last Modified: 2013-02-01
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.

Thanks!
0
Comment
Question by:codequest
2 Comments
 
LVL 41

Accepted Solution

by:
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.
0
 
LVL 2

Author Closing Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jQuery force form POST 7 46
Search Item in Table 2 19
JS Event Does not Trigger From File 2 27
Non-Resizable Pharagraph 2 5
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

860 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