Solved

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

Posted on 2013-02-01
2
222 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now