Define ViewState and how can it be used?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to you can limit Access to Web API to Specific HTTP Verb?

659


Which object encapsulates state or data of a user?

622


what is the difference between response.write() and response.output.write()?

690


Where viewstate value is stored in asp.net?

591


How do you implement postback with a text box?

558






What is considered a service provider?

513


What are session state modes?

562


calling result set one procedure to anothar procedure in sql2000

1334


what is AutoEventWireUp and what is the use of This property explain in details?

1126


is gateway for sms continue connected for sending sms.how?

1827


How can u debug your .net application?

576


explain code with multi inhertance

1642


Is global asax mandatory?

551


Explain cashing in asp.net.

523


a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.

1436