Answer Posted / nizath ali.u
Hi all this is Nizath Ali,
Viewstate is a client side state management.It
retains the page & control specific values between the
round trips(Post Back).
It always stores the values in one hidden form field
(control of ASP.NET) on the pge.
Brief:
Each webform page & controls on the page consists
of one "viewstate" property.
If we enable the viewstat property as true, it
automatically save the page & control specific values b/w
the round trips.
This viewstate is implemented with one hiddenform
field(control of ASP.NET) called "_VIEW STATE".That is the
viewstate stores the values in this hiddenform field
control.
This hidden form field is automatically created in
every webform page.
Now, what are the values stored in a viewstate
property,that are collected & formatted into a single
encoded string.
Then the encoded string is assigned to the "value"
property of the hiddenform field "_VIEW STATE".
Then it send to the client as apart of the webpage.
This kind of process is done by viewstate.
Drawback:
When we store the large values on the viewstae,it
makes the page slow down.
It stores the values on the "hiddenform field" so
no good security is their.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
How you will improve web application performance?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
Explain about asp.net 2.0 themes?
Is react a template engine?
Explain the difference between webfarm and webgardens in .net?
How do I open an ashx file in windows 7?
List the events in page life cycle.
What is difference Between Authentication and authorization?
What is voluum?
How can you apply a theme to your asp.net application?
Is LINQ performance wise better or using sqlcommand?
Explain about the Class view window?
How can we call webservices in Banking Applications? and where we are using it?
What a diffgram is, and a good use for one?