10. Web Site Navigation Techniques
Two common approaches for linking Web pages together were part of the original specifications for HTML. You can use a hyperlink, implemented as a <a> element, or a <form> section that posts its ...
Simple Navigation with Hyperlinks
The simplest way to link two pages together is with a hyperlink. In ASP.NET, you have several choices for creating a hyperlink, including the following:
As a non-server control using an HTML <a> elementAs a...
Navigation with LinkButton Controls
So far, you have seen the controls that generate standard clickable hyperlinks to navigate directly to another page or resource. However, the LinkButton and several other control types implement navigation usi...
Navigation through Browser Redirection
Navigation consists of pointing the browser to a specific page in response to user interaction. The Hyperlink control, and various other complex controls that generate hyperlinks, cause the browser to load th...
Navigation through Server-Side Redirection
Another way to display a different page from the one the user requested is through server-side redirection. In fact, this is not truly navigation, because the user does not see a different URL in the brow...
Cross-Page Posting of Form Contents
As you saw at the start of this chapter, ASP.NET depends on the postback architecture, where pages containing a <form> section post back to themselves. However, there are cases when you may want to post th...
Site Maps, Menus, and Navigation Path Controls
ASP.NET 2.0 includes several features that make it easy to implement a central system for navigation within your Web sites and Web applications. There are several server controls, combined with an XML...
Summary
In this chapter, you have looked at the many ways of implementing navigation within your Web sites and Web applications. You saw how to create simple navigation with hyperlinks using the various HTML and ASP.NET server controls, including ...
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.