What is view state and how this can be done and was this
there in asp?
Answer Posted / sudeesh i.g.
view state is state management technique used in ASP.net.
Its visibility is inside a current page. It is like session
state difference is that session for entire project all but
view state is visible for entire page. The data in view
state one page can't access from other page. it clear the
data when unload the page. it take more memory, it is not
suitable with gridview, detailsview, listview controls.
eg:
viewstate["id"]=request.querystring["id"];
or
viewstate["id"]=convert.toint32(gridview.datakeys[index][""].string();
like lot of example
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can you explain architecture of your project ?
Which asp.net objects encapsulate the state of the client and the browser?
Explain model, view and controller represent in an mvc application? : asp.net mvc
How do I publish my asp.net application to my isp's web server?
What is caching? What are different ways of caching in asp.net?
What is a runtime version?
Give 2 examples for scenarios when routing is not applied?
What is the use of ASP.NET routing?
Distinguish between Server-side and Client-side code with its functionality?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
Which class is used to send an email message from an ASP.NET Web page?
What are the data controls available in asp.net?
What is session state server?
How to use multiple scriptmanager controls in a web page?
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?