Define ViewState and how can it be used?
Answers were Sorted based on User's Feedback
Answer / srujana
ViewState stores the objects serializable in a hidden field
on the page.
ViewState is used to retain the state of server-side
objects between postbacks.
Viewstate is transported between client and the server.
| Is This Answer Correct ? | 31 Yes | 10 No |
Answer / lalit
to put it in simple terms viewstate is used for maintaining
the state of the control or the page during postback
| Is This Answer Correct ? | 25 Yes | 5 No |
Answer / pavan
ViewState is the mechanism that allows state values to be preserved across page postbacks.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / nazeer
when client makes a request for a page, asp.net process the
@server and gets result.
All this result of controls are concatnated into one string.
This string converted to base64 encodining format and
stored in hidden field called "viewstate"
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / suresh
When a form is submitted in ASP .NET, the form reappears in
the browser window together with all form values. How come?
This is because ASP .NET maintains your ViewState. The
ViewState indicates the status of the page when submitted
to the server.
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / shiva
viewstate is built in structure for automatically retail
the values among the multiple request for the same page.
view state is internally maintain as a hidden field butis
hashed.
| Is This Answer Correct ? | 7 Yes | 7 No |
Explain about secure socket layer?
when will garbage collector run?
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
0 Answers AlKhaleej, Swatz Oils,
What are the 4 tenants of SOA/D.
How does asp page work?
Which keyword you should use for class not to extend? Which keyword to be used for making the class accessible within the assembly only what are the authentication mode of ASP.NET How will you call a JavaScript function using code-behind? How will you define the Session Timeout? What are the methods to validate client-side whether the input is a correct Date format? You want to write a log when ASP.NET application starts. Which is the best place to write that peice of code? What are the page load events and what is there order? What is the difference between abstract class and interface? What are the differences between DataSet and DataReader? What are the two properties other than DataSource, which is required to populate the Drop Down Menu? What is difference between String and StringBuilder Classes? What are differences between Custom control and User control?
Why do we use datasource in asp.net?
What namespaces are imported by default in ASMX files?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Can the dictionary object be created in client?s scope ?
What does a switch do?
Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)