Understanding Page Class in ASP.NET 2.0
page 3 of 3
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 24043/ 94
Article Contents:


So we can see that the Page class provides a great deal of functionality exposed as properties and methods that can be used in our code-behind classes and some of them are similar to the intrinsic global objects of ASP classic, such as Request, Response,Session, and Server. Other properties of Page provide useful access to information about the page, such as IsPostBack (gets a value indicating whether the page is being loaded in response to a client postback, or if it is being loaded and accessed for the first time), IsValid (gets a value indicating whether page validation succeeded), Theme (gets or sets the name of the page theme), and EnableViewState (gets or sets a value indicating whether the page maintains its view state). The Page class also provides many useful methods, such as LoadControl, Validate, and RegisterClientScriptBlock.

View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 

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

©Copyright 1998-2020 ASPAlliance.com  |  Page Processed at 2020-04-03 8:50:52 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search