Tuesday, January 20, 2009

Interview Questions - Part 10

Interview Questions
--------------------------

96. What is a TreeView Server control ?
a ) This is a site navigation control. It displays the data in hierarchical order. Generally is is used to display Menu items for an application. It contains a number of prebuilt styles.

97. What are the differences between viewstate and hidden fields?
a ) Viewstate :
1. This is used for pages that will postback to itself
2. This is a built in structure for maintaining state of a page
3. Security is more as data is hashed, compressed and encoded.
Hiddenfield :
1. This is used for pages that will postback to itself or to another page
2. This is not an inbuilt structure
3. Security is less when compared to viewstate

98. Examples of Navigation controls?
a ) They are
1. TreeView Control
2. Menu
3. SiteMapPath

99. What is the namespace used for web page
a ) System.Web.UI.Page

100. What is the use of IsPostBack method?
a ) This method is to determine whether request is new request or postback request.

101. What are the advantages of DataGrid Control?
a )
1. Inbuilt support for paging and sorting
2. Inbuilt support for user selection and editing
3. Contains its default display

5 comments:

J said...

Nice blog my friend. Keep it up.

PATRONUS INCOGNITUS said...

wow!, so much questions in interview.
i just succeeded to answer one question in interview. but i am not going yet. i am only thinking the answer.

if the interviewer ask, what is the thing that you really want to do in your life that you have succeeded to do it and it is important in your life?

what would be your answer ?

avideogameplayer said...

Decent blog. Very informative to say the least...

Red said...

Wow, really is a wealth of information. Very useful bits all in place.

Mr. Wilson said...

you have a very interesting and helpful post..asp ae..very nice..