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
Define common type system?
How to display validation messages in one control?
Does asp.net still recognize the global.asa file?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
What is manifest in .net framework?
How does a content page differ from a master page?
What is the displayafter property in updateprogress control?
What are the two properties that are common on every validation control?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
What is Web API Routing?
What do you mean by serialize?
What is meant by server side scripting?
What is difference between inproc and outproc?
What are the differences between application object and session object?
Is there any property names “isnavigating”?