Define view state.
Answer / Umesh Kumar Rathore
View State is a mechanism provided by ASP.NET to maintain the state of user interface controls between postbacks. It serializes and stores control property values in hidden fields, allowing the state to be preserved across multiple server round trips. This helps in maintaining the state of form elements even after validation errors or other interruptions.
| Is This Answer Correct ? | 0 Yes | 0 No |
I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'
What is difference between rest and soap?
how to convert from sql2000 numeric to int in asp.net with sqlparameter?
hi guys do u know how to go one page to one page to another page plz tell me any of u know
When would you set a control's AutoPostBack property to true?
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Security types in ASP/ASP.NET? Different Authentication modes?
4 Answers QuadLabs Technologies,
What do you mean by serialize?
how to write html code with ssl
What is SQL injection?
How can you execute stored procedure from windows application?
You ve defined one page_load event in aspx page and same page_load event in code behind how will prog run?
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)