Skip to content
Sign in
Computer PPSC

Which of the following base class do all web forms inherit from:

Tap an option to check the answer. You can also press A–D.

Show answer

Correct answer: C) page class

Every ASP.NET Web Form inherits from the System.Web.UI.Page class, commonly called the Page class. It provides properties such as Request, Response and Session. Related facts: The code-behind class of a Web Form derives from Page. Page provides the page life cycle events. Windows and Document classes are not used for Web Forms. Exam tip: All Web Forms inherit from the Page class.
Explanation
Every ASP.NET Web Form inherits from the System.Web.UI.Page class, commonly called the Page class. It provides properties such as Request, Response and Session. Related facts: The code-behind class of a Web Form derives from Page. Page provides the page life cycle events. Windows and Document classes are not used for Web Forms. Exam tip: All Web Forms inherit from the Page class.