What is viewstate?

Answers were Sorted based on User's Feedback



What is viewstate?..

Answer / supriya

Item stored in ViewState exist for the life of the current
page.This includes postbacks (to the same page).

Is This Answer Correct ?    6 Yes 0 No

What is viewstate?..

Answer / nithya

ViewStates are nothing but hidden fields genereted by
asp.net at runtime to maintain the state of the (Controls)
object. We can maintain viewstate in three levels.
Application level,Page Level,Control level. For this
EnableViewState property should be true.

These viewstates will be availble only in the page.If the
page will get expire this also will be expire in runtime.
We can maintain viewstate with in the page only.

Is This Answer Correct ?    6 Yes 0 No

What is viewstate?..

Answer / ghouse basha shaik

ViewState is the process of maintaining control properties
after postback implemenation. This is done internal using
Hidden fields.

Is This Answer Correct ?    6 Yes 1 No

What is viewstate?..

Answer / yahoo

hathi.

Is This Answer Correct ?    2 Yes 0 No

What is viewstate?..

Answer / sivadatta kodali

This concept comes in the state management.For Asp.net
server controls implicitly the state of control will be
maintained with the support of viewstate.View state will
maintain some information at the Html Hiddenfield and the
will be Encrypted.

If u want to set the value explicitly.

viewstate["Key"]=value;

If u want to Read the value from the viewstate

viewstate["key"].Tostring();

Is This Answer Correct ?    1 Yes 0 No

What is viewstate?..

Answer / ganesh

ViewStates are nothing but hidden fields genereted by
asp.net at runtime to maintain the state of the (Controls)
object. We can maintain viewstate in three levels.
Application level,Page Level,Control level. For this
EnableViewState property should be true.

These viewstates will be availble only in the page.If the
page will get expire this also will be expire in runtime.
We can maintain viewstate with in the page only.

-------------------------

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain how cookies work. Give an example of cookie abuse.

0 Answers  


What is sta?

0 Answers  


How many ways are there to maintain a state in .net? What is view state?

0 Answers  


what to magage the state manament in asp.net with respect to in_prock and out_prock

1 Answers   Aviva,


What is the postback property in asp.net?

0 Answers  






Differentiate between a hyperlink control and a linkbutton control.

0 Answers  


What is work flow gen? how can it will work with .Net?

0 Answers   TCS,


what are debugging types in .net?

2 Answers   ABC, NIIT,


Name the two properties are on every validation control?

0 Answers  


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

1 Answers   Siebel, Visual Soft,


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.

0 Answers  


What is the transport protocol you use to call a Web service?

2 Answers   Siebel Systems,


Categories