CHAPTER 13

image

Website Navigation

You’ve already learned several simple ways to send a website visitor from one page to another. The most straightforward approach is to add ordinary HTML links, using either the <a> element or the HyperLink web control. These links let users click their way through the pages of your site. Or, if you want to trigger a page change in response to some other action, your code can call the handy Response.Redirect() method or the Server.Transfer() method at any time. Both methods are detailed in Chapter 5.

All these techniques are fundamental parts of ASP.NET web design. But as your website becomes more sophisticated, it ...

Get Beginning ASP.NET 4.5 in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.