Question: Can some one please answer theses 24. If you set the AutoPostBack property of a control to True, the page is posted back to the
24. If you set the AutoPostBack property of a control to True, the page is posted back to the server a. only if the IsPostBack property of the page is set to True b. whenever the value of the control changes c. when the value of the control changes, but only if view state is enabled for the control d. when you change the value of the control and then click a button control 25. Which event occurs when you select an item from a drop-down list? a. Click c. CheckedChanged b. TextChanged d. SelectedIndexChanged 26. When would you typically use the RedirectPermanent method to display another page? a. When the page is located at another website b. When the page resides in the root directory of the web application c. When the page has been moved or renamed d. When you want to avoid an extra round trip to the server 27. If you don't need to retrieve data from the original web page, which is the best way to transfer control to a new page? a. the Server.Transfer method c. cross-page posting b. the Response.Redirect method d. no method is clearly the best 28. When a browser requests a web page, ASPNET a. creates a session state object that keeps track of the user entries b. creates a session state object that contains an ID for the session c. creates a session state object that the application can store a session ID in d. does none of the above 29. By default, ASPNET sends the session ID to the browser in a. a cookie c. the session state object b. the URL d. a text file 30. Which statement best describes the operation of the following code? if (IsPostBack) ddlProducts.DataBindO; a. If the page is being requested for the first time, bind a drop-down list to a data source. b. If the page isn't being requested for the first time, binda drop-down list to a data source. c. If the page is being requested for the first time, bind a data source to a drop-down list. d. If the page isn't being requested for the first time, bind a data source to a drop-down list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
