Working with Cross Page Posting Using ASP.NET 2.0
page 3 of 7
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 72622/ 79

PreviousPage Property

One improvement in ASP.NET 2.0 regarding Server.Transfer is a new property on the Page called PreviousPage that basically provides a reference to the source page.  When a cross page request occurs, the PreviousPage property of the current Page class holds a reference to the page that caused the postback.  If the page is not the target of a cross-page posting or if the pages are in different applications, the PreviousPage property is not initialized.  After cross-posts back from source page to the target page, the target page accesses information on the source page.  Note that cross page posting is basically a client side transfer.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-05-24 1:25:16 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search