what is view state and its use

Answer Posted / om nama shiva ya namaha

when ever any server control can raise its event then
browser can send its request to server and at the server
side the event executes and the response comes back to
browser is known as postback mechanism .During this postback
mechanism all the server controls data are stored in viewstate.
but for some controls like textbox,dropdown list,radiobutton
list etc can implement IPOSTBACK DATA HANDLERS interface for
this controls even if we put enableviewstate to false.these
controls can store all the data in html bodys .Even if we
disable viewstate they maintain data in the controls

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it true that a Web service must be written in .NET or not?

568


How can I open ashx file in mobile?

609


What is difference between inproc and outproc?

651


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

528


What are strong names?

573






8. Why do you want to work here?

1466


What is a query string in a url?

529


What is a global postback url?

501


What is the difference between c# and .net?

571


Describe the master page.

542


Explain the use of dataadapter.

563


What is Dynamic Web and discuss its usage with the help of real life examples?

581


Is asp.net 64-bit enabled? How?

572


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

513


What is the full form of asp.net?

517