Interview Questions and Answers for freshers and Experienced by Satish Dadi

1.What is the difference between Server.Transfer and Response.Redirect?  
Server.Transfer  is more faster than Response.Redirect

Reason :
Server.Transfer :
Process :  Directly From Server.Transfer  to  Web Server

Response.Redirect :
Process :  From Response.Redirect  à  Client Browser à  Web Server

2. In which event of page cycle is the ViewState available?
After Init and Before Page_Load

3. What is ViewState?
ViewState is used to maintain the state through out the life time of a current page

4. What are the Page Life Events?
1.Pre_Init
2.Init
3.Init_Complete
4.Page_Load
5.Page Events
6.Pre_Render
7.Render
8.UnLoad

No comments:

Post a Comment