ASP.NET INTERVIEW QUESTION & ANSWERS
21. |
What is a bubbled event? |
|
When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their event handlers, allowing the main DataGrid event handler to take care of its constituents. |
22. |
What makes a Web page dynamic? |
|
Program code that you write makes a Web page dynamic. Dynamic pages respond to user input and perform useful services.
|
23. |
What are the five different ways of handling state in ASP.Net Web forms? |
|
You can handle state in ASP.NET Web applications by using :- Cookies
- Query strings
- Hidden fields
- Session
- Application objects
|
24. |
What is the difference between Server.Transfer and Response.Redirect? |
|
Server.Transfer does not send any message to the browser but rather redirects the user directly from the server itself. Response. Redirect sends message to the browser saying it to move to some different page. |
25. |
What is the use of Smart Navigation property? |
|
It is a feature provided by ASP.NET to prevent flickering and redrawing when the page is posted back. |