navigation

ASP.NET Site Maps

Has anyone got experience creating SQL-based ASP.NET site-map providers? I've got the default XML web.sitemap file working properly with my Menu and SiteMapPath controls. But I'll need a way for the users of my site to create and modify pages dynamically. I'll need to tie page viewing permissions into the standard ASP.NET membership s...

CSS Drop-Down Menus - "Best"? Most feature-rich?

I'm in the unfortunate position of having to implement a drop-down cascading menu on a site I'm building. I'm looking for a Suckerfish-style solution that is primarily CSS-based and works on a simple set of nested ULs and LIs. Son of Suckerfish seems like the way to go, but I don't like the way it just disappears the second you move th...

When is NavigationService initialized?

I want to catch the NavigationService.Navigating event from my Page, to prevent the user from navigating forward. I have an event handler defined thusly: void PreventForwardNavigation(object sender, NavigatingCancelEventArgs e) { if (e.NavigationMode == NavigationMode.Forward) { e.Cancel = true; } } ... and that wo...

Sources of inspiration for navigation breadcrumbs

I'm looking for sources of inspiration and/or design patterns for navigation 'breadcrumbs'. So far I have found the breadcrumb collection on Pattern Tap. Does anyone know of any other sources? ...

Getting the back/fwd history of the Windows Forms WebBrowser Control

In C# WinForms, what's the proper way to get the backward/forward history stacks for the System.Windows.Forms.WebBrowser? ...

How would you implement a breadcrumb helper in asp.net mvc?

I know you could make a helper pretty easily given the data. So, if possible, please only submit answers that also include getting the data. ...

Best practice: How to handle concurrency of browser and website navigation.

It is a well known problem to every web developer. As far as I tried to find a good solution to this problem - there was none (or at least I could not find it). Lets assume the following: The user does not behave, as he was expected to. The actual project I'm working in uses a navigation within the web portal. But if the user uses the ...

Are tags useful for navigation (on Stack Overflow or otherwise)?

I've done some research on using tags from social bookmarking sites for web search, but I'd like to learn more about other ways in which users might use tags for information retrieval. Do you use the tags on sites like Stack Overflow for navigation? Do you think of them like filters (narrowing down a large list of questions), or as c...

Home key go to start of line in Visual Studio?

Where is the option in Visual Studio to make the Home key go to the start of the line? Right now you have to do Home,Home or Home, Ctrl+Left Arrow i'd prefer that home goes to the start of the line. i saw it before, but now i cannot find it. ...

Is there any way to use XmlSiteMapProvider within WinForm/Console/VSTest application?

I wonder whether there is a workaround for using the standard XmlSiteMapProvider within a non asp.net application, like WinForm/Console or, in my case, VS Unit Test one. The following code fails, because it cannot create a path to the .sitemap file inside a private GetConfigDocument method. XmlSiteMapProvider provider = new XmlSiteMapP...

How to create a GET request with parameters, using JSF and navigation-rules?

Is there a way to create an html link using h:outputLink, other JSF tag or code to create a non faces request (HTTP GET) with request parameters? For example I have the following navigation-rule <navigation-rule> <navigation-case> <from-outcome>showMessage</from-outcome> <to-view-id>/showMessage.jsf</to-view-id> ...

Why does my "out of the box" SharePoint Navigation look like it is leaking memory

My site has quite a deep navigation structure and quite often it looks like the out of the box navigation is leaking memory, especially the SPWeb objects. The log message looks like Potentially excessive number of SPRequest objects (14) currently unreleased on thread 5. Ensure that this object or its parent (such as an SPWeb or SPS...

AJAX and the Browser Back Button

I run a browser based game at www.darknovagames.com. Recently, I've been working on reformatting the site with CSS, trying to get all of its pages to verify according to the HTML standard. I've been toying with this idea of having the navigation menu on the left AJAX the pages in (rather than taking the user to a separate page each time...

Detecting Back Button/Hash Change in URL

I just set up my new homepage at http://ritter.vg. I'm using jQuery, but very minimally. It loads all the pages using AJAX - I have it set up to allow bookmarking by detecting the hash in the URL. //general functions function getUrl(u) { return u + '.html'; } function loadURL(u) { $.get(getUrl(u), function(r){ ...

Map-Navigation Project, How is road data generally stored/represented?

Navigation systems like the Garmin and TomTom have always fascinated me. I've wanted to implement small map/navigation applications to try out various pathing algorithms and expand on my knowledge of them. This is a two part question: 1.) How is Map data stored? - When you have a network of roads, how is this data generally stored? ...

How do I highlight a link based on the current page?

Sorry if this sounds like a really stupid question, but I need to make a link change color when you are on the page it links to. For example, when you are on the "Questions" page of stackoverflow, the link at the top changes color. How do you do this? ...

Best or favorite website navigation examples

What do you consider to be the best examples of website navigation and why? I'm trying to design a secondary navigation menu and I need a little inspiration, but I'm also interested just in general about learning best practices for navigation and information display. What are some of the more unique solutions you've seen? Links and varie...

Programmatic solution to change navigation id to highlight current page ASP.NET

I am writing a website with Visual Studio 2008 and ASP.NET 3.5. I have a masterpage set up to simplify the layout and to keep the content pages for content rather than content and layout. The navigation is list, css'd so it looks like a bar. In order to highlight the page on the bar, the list item needs to look like this <li id="curren...

Does a MasterPage know what page is being displayed? [solved]

When I navigate on a website utilizing MasterPages, does the application know what page I am on? If so, does it store it in an object I can access? The reason I am asking is so I can replace this: //masterpage <div id="nav_main"> <ul><asp:ContentPlaceHolder ID="navigation" runat="server"> </asp:ContentPlaceH...

How do I create a custom menu navigation in ASP.NET?

UPDATE Here is my final working version: <% Dim theUrl As String = Request.Url.Segments(Request.Url.Segments.Count - 1).ToLower Dim oList As New List(Of String()), openTag As String = "" oList.AddRange(sqlStuff.getNavPages()) For Each oItem As String() In oList If oItem(1) = theUrl Then openTag = String.Format...