GSSP-.NET · Question #351
(Topic 3) Maria works as a Software Developer for MaryLync Inc. She develops an application using Visual C# .NET, for National Stock Broker Inc. The application is used to handle sales and purchase…
The correct answer is A. Set the EnableEventValidation attribute to false. C. Set the EnableViewState attribute to true. John works as a Software Developer for CyberTech Inc. He creates an ASP .NET page named BookItemList.aspx, which displays a price list of computer books. Registered users have to first log on to the company's Web site in order to view the current price list of different…
Question
- (Topic 3)
Maria works as a Software Developer for MaryLync Inc. She develops an application using Visual C# .NET, for National Stock Broker Inc. The application is used to handle sales and purchase of shares. She wants to ensure that whenever an error occurs in the code, the user is directed to an error page called error1.aspx. She writes a class named StockBroker that contains the code for real stock application. Which of the following attributes of the @ Page directive should she use to accomplish the task? Each correct answer represents a complete solution. Choose two.
Options
- ASet the EnableEventValidation attribute to false.
- BSet the EnableEventValidation attribute to true.
- CSet the EnableViewState attribute to true.
- DSet the EnableViewState attribute to false.
How the community answered
(30 responses)- A77% (23)
- B17% (5)
- D7% (2)
Explanation
John works as a Software Developer for CyberTech Inc. He creates an ASP .NET page named BookItemList.aspx, which displays a price list of computer books. Registered users have to first log on to the company's Web site in order to view the current price list of different computer books available on the Web site. Users want to maintain the page requests as long as they are accessing the Web page. John wants to ensure that whenever the Web page BookItemList.aspx is posted back to the server, the price list should not be changed on the registered user's computer. He also wants to validate the page sent back to the server. Which of the following actions will John take to accomplish the task? Each correct answer represents a part of the solution. Choose two.
Topics
Community Discussion
No community discussion yet for this question.