Answer Posted / mallikarjuna
Viewstate is stored in hidden input field and sent back to
the server with every post back.
veiwstate is a concept of maintaing the controls props.
adv:
redusing the manuel coding
it can not use persistant memory in client system or server
system.
dis adv:
more amount of data can be transfered between client and
web server
configaration :
we can figure viewstate at three levels
1.pagelevel
2.control level
3.application level
cl:<input.......... enableviewstate="true[d]/false">
pl:<%@page...........enableviewstate="tr true
[d]/false"%>
al:this is required configurationfile
<pages .......... enableviewstate="true
[d]/false>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of global.asax file?
What are the built-in objects in asp.net?
What threading model used in asp and asp.net?
What is s2s tracking?
What websites use asp.net?
What is the procedure to create the environment for asp.net? : asp.net mvc
A web service can only be written in .net? State whether true or false.
Where is the session stored?
Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
What is request and response in asp.net?
What can we do with asp.net?
Explain the use of errorprovider control in .net?
Describe the events in the life cycle of a web application.
How is a session stored and maintained in asp.net?