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
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
Securitywise What are the Enhancements in 2.0?
What is the function of the ViewState property?
Explain the difference between an exe and a dll?
Explain difference between friend and protected friend?
What are the features that make asp.net more used framework? : asp.net mvc
What are server objects?
Explain what is postback in asp. Net?
What is asp.net caching?
Explain About duration in caching technique
What are the advantages of using Master Pages?
Are cookies client side or server side?
Can we have 2 web config files?
How can you handle exceptions in asp.net?
Explain about asp.net 2.0 themes?