ASP.Net Interview Question and Answers
36. |
What are the event handlers that can be included in the Global.asax file? |
|
The Global.asax file contains some of the following important event handlers:
- Application_Error
- Application_Start
- Application_End
- Session_Start
- Session_End
|
|
|
37. |
What Asp.net objects encapsulate the state of the client and the browser? |
|
The Session Object. |
|
|
38. |
Which class is inherited when an Asp.net server control is added to a Web form? |
|
The System.Web.UI.Webcontrols class is inherited when an Asp.net server controls is added to a web form.
|
|
|
39. |
What are the types of validation controls in Asp.net? |
|
There are six types of validation controls in Asp.net:
- Compare Validator
- Custom Validator
- Range Validator
- Regular Expression Validator
- RequiredField Validator
- Validation Summary
|
|
|
40. |
Which namespace is needed to implement debug and trace? |
|
System.Diagnostic |
|
|