"differ b/w viewstate and hidden fields"
-
may i know the diff b/w view state and hidden fields
-
may i know the diff b/w view state and hidden fields
view state is the property of asp.net's pages and controls which can be enabled or disabled but is enable by default. The purpose of enabling view state is to maintain the user's input on controls after the post back which was not available in ASP's post backs. In ASP when page is post back all the inputs on form are lost and we need to enter all the values or input again but its not the case with ASP.NET after the post back all the user input or values remain on the form and are not lost. Hidden field is a simple input control put is hidden. Suppose if u dont want to show user some values dat you may be using in ur client side scripting then u can store these values in hidden fields and can get using javascript
Regards, Rashida Jabeen http://www.akaas.net[^]
-
view state is the property of asp.net's pages and controls which can be enabled or disabled but is enable by default. The purpose of enabling view state is to maintain the user's input on controls after the post back which was not available in ASP's post backs. In ASP when page is post back all the inputs on form are lost and we need to enter all the values or input again but its not the case with ASP.NET after the post back all the user input or values remain on the form and are not lost. Hidden field is a simple input control put is hidden. Suppose if u dont want to show user some values dat you may be using in ur client side scripting then u can store these values in hidden fields and can get using javascript
Regards, Rashida Jabeen http://www.akaas.net[^]