Advanced Asp.Net Interview Questions and Answers - 1

Question: 1

Which method do you use to redirect to user to another page without performing a round trip to Client?

Server.Transfer

Question: 2

What are the advantages and disadvantages of viewstate?

Maintaining viewstate across post backs is a good user experience and also helps minimizing the validation errors to some extent, however maintaining view state makes the page heavier as it stores the encoded view state details in the hidden field.

Question: 3

Where do you store the information about the user’s locale?

System.Web.UI.Page.Culture

Question: 4

What namespace do the ASP.NET page and LiteralControl classes belong to?

System.Web.UI

Question: 5

Why should you use HTML server controls?

To convert existing HTML elements into server controls that you manipulate through code.

Related Questions