Navigating between Web Forms

In developing ASP.NET applications, consider that your users will still need to navigate through various pages of the application, and in some cases they will need to carry data from a previous form. There are several ways to accomplish this, which are covered in this section.

Passing Data via POST

With server-side processing of Web Forms, the POST mechanism no longer works as it used to in classic ASP development. You can still POST to another Web Form by specifying the target Web Form in the Action attribute. However, you cannot send data along with that action—at least not automatically. Still, you can resort to classic POST processing to achieve this technique. For example, given two Web Forms, TWebForm1 might ...

Get Delphi for .NET Developer’s Guide 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.