Welcome Guest | Sign in | Register
ASP.NET - DotNet Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com
71. What type of code, client-side or server-side, is found in a code-behind file of a Web page?

A code-behind file contains the server-side code, which means that the code contained in a code-behind file is executed at the server.

72. To which class a Web form belongs to in the .NET Framework class hierarchy?

A Web form belongs to the System.Web.UI.Page class.

73. What does the "EnableViewState" property do? Why do we want it On or Off?

The EnableViewState property enables the ViewState property on the page. It is set to On to allow the page to save the users input between postback requests of a Web page; that is, between the Request and corresponding Response objects. When this property is set to Off, the page does not store the users input during postback.

74. Which event determines that all the controls are completely loaded into memory?

The Page_Load event determines that all the controls on the page are fully loaded. You can also access the controls in the Page_Init event; however, the ViewState property does not load completely during this event.

75. What is the function of the CustomValidator control?

It provides the customize validation code to perform both client-side and server-side validation.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.