6.7. Page class
As we already know, the Page object is created by ASP.NET in response to a web page request. In this section, we will learn about the main properties of the Page class. They are the following.
Application Contains the Application object for the current request.
Cache Contains the Cache object that is used to store the page for subsequent requests.
ClientTarget Allows us to specify how a page renders for particular browsers.
ErrorPage Indicates the page to which the request browser should be redirected in the event of an unhandled page exception.
IsPostBack Indicates whether or not the page is being loaded and accessed for the first time.
IsValid Indicates whether or not page validation has succeeded.
Request Contains the Request ...
Get A Programmer's Guide to .NET 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.