Can someone tell me that we can use the enableviewstate property of the text box in asp.net. By making it false or true, how can we feel the difference in results.
By default, ASP.NET has EnableViewState set to true, so when you call back, the values are stored in text blocks.
If you set it to false and postback, ka-boom ! The value no longer exists :)
, . , , Visible, Enabled, Appearance, CssClass, BackColor .., , .
( ) - - , . , , , , POST ( Request.Form). , false. , -.
EnableViewState = true, . false, TextBox , , .
EnableViewState = true
TextBox
enableviewstate = true, , postback
This property is used to determine whether to save the value after the postback or not. If it sets to false, the value will not be saved with every postback. Everything that is entered by the user will disappear. And in the case of a text field, you should not change this property in most cases, or I can say all cases.
Source: https://habr.com/ru/post/1765032/More articles:The relationship between a Java thread and OS threads - javaWhere is the .htacess apache file located on Linux Red Hat? - apacheNSArrayController Class vs Entity mode in Core Data Mac OS X based on documents - cocoaReturning an array of links from a const member function - c ++Storage of a private "octet string" in Active Directory; what is safe by default? - securityCRM 4.0 workflow error message for user - workflow-foundationGNAT - GVD: not in executable format: file format not recognized - adaHow to generate xml file using web services in Java? - javaHow to shut down with C #, Process.Start ("shutdown") not working in Windows XP - c #Производительность сервера Sql и MS Access - performanceAll Articles