What is advantage of viewstate and what are benefits ?
Answer / arunendra shukla
When a form is submitted in classic ASP, all form values are cleared. Suppose you have submitted a form with a lot of information and the server comes back with an error. You will have to go back to the form and correct the information. You click the back button, and what happens.......ALL form values are CLEARED, and you will have to start all over again! The site did not maintain your ViewState.With ASP .NET, the form reappears in the browser window together with all form values.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 ? | 0 Yes | 0 No |
How many webforms are possible on a single webpage?
How Clustered Index and Non clustered index stored on SQL server?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.
What is different in .net 1.1 and .net 2.0?
What is session management in web application?
Types of state management techniques ?
What are typed datasets?
Less than one page, how many windows will you be able to maintain?
Write a code snippet to implement the indentation in json in web api.
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?