Which of the following is a property of the Page class that can be used to get a value that tells whether a page is loaded in response or is loaded for the first time?

Which of the following is a property of the Page class that can be used to get a value that tells
whether a page is loaded in response or is loaded for the first time?

Which of the following is a property of the Page class that can be used to get a value that tells
whether a page is loaded in response or is loaded for the first time?

A.
IsValid

B.
Response

C.
IsPostBack

D.
IsPreStart

Explanation:
The IsPostBack property of the Page class can be used to get a value that tells whether a page is
loaded in response to a client postback or it is loaded for the first time. It returns true if the page is
loaded in response to a client postback. It returns false if the page is loaded and accessed for the
first time.
Answer A is incorrect. It is used to retrieve a value indicating whether page validation has
succeeded or not.

Answer D is incorrect. There is no such property as IsPreStart.

Answer B is incorrect. This property gets the HttpResponse object associated with the page.



Leave a Reply 0

Your email address will not be published. Required fields are marked *