Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Explain how Viewstate is being formed and how it’s stored on client.
Explain how Viewstate is being formed and how it’s stored on client.
✍: Guest
The type of ViewState is System.Web.UI.StateBag, which is a dictionary that stores name/value pairs. ViewState is persisted to a string variable by the ASP.NET page framework and sent to the client and back as a hidden variable. Upon postback, the page framework parses the input string from the hidden variable and populates the ViewState property of each control. If a control uses ViewState for property data instead of a private field, that property automatically will be persisted across round trips to the client. (If a property is not persisted in ViewState, it is good practice to return its default value on postback.)
2014-01-03, 2102👍, 0💬
Popular Posts:
I have 5 questions please give me the answer ,explanation,suggestions if any?? what is PMP(project m...
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...
What is the purpose of Replication ? Replication is way of keeping data synchronized in multiple dat...
What are the high-level thread states? The high-level thread states are ready, running, waiting, and...
Can you explain project life cycle ? Figure :- 12.2 Life cycle of a project There are five stages of...