Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is view state and how this can be done and was this
there in asp?

Answers were Sorted based on User's Feedback



What is view state and how this can be done and was this there in asp?..

Answer / kautilya

ViewState is a hidden component which is being stored at
client side. It is basically used to retain the data of the
form during round trip to the server.

Viewstate is introduced in asp.net, it was not in classic
asp.

Is This Answer Correct ?    20 Yes 6 No

What is view state and how this can be done and was this there in asp?..

Answer / arunajyothi.m

It is used to remember the controls state when page is
posted back to server.asp.net stores the viewsate on clien
site in hidden field _Viewstate in encrypted form.we can
enable/ disable the view state with "EnableViewstate"
property to True/False.

Is This Answer Correct ?    14 Yes 4 No

What is view state and how this can be done and was this there in asp?..

Answer / arunajyothi.m

In simple we can say that once we store data in viewstate
that information can be used in round trips to webserver.
This was not there in Classic Asp.

Is This Answer Correct ?    4 Yes 0 No

What is view state and how this can be done and was this there in asp?..

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

What is view state and how this can be done and was this there in asp?..

Answer / rajneesh hajela

ViewState is a hidden component which is being stored at
client side. It is basically used to retain the data of the
form during round trip to the server.

Is This Answer Correct ?    1 Yes 0 No

What is view state and how this can be done and was this there in asp?..

Answer / ajay

view state is component where we can store the data in
client side using hidden controls it's nothing but it will
maintain the data during round trip to the server

Is This Answer Correct ?    1 Yes 0 No

What is view state and how this can be done and was this there in asp?..

Answer / anand mishra

It is used to remember the controls state when page is
posted back to server.asp.net stores the viewsate on clien
site in hidden field _Viewstate in encrypted form.we can
enable/ disable the view state with "EnableViewstate"
property to True/False.
view state value from one web page can not be accessed from
another web page.

Is This Answer Correct ?    1 Yes 0 No

What is view state and how this can be done and was this there in asp?..

Answer / asela chamara

It is the technique used by an ASP.NET Web page to persist
changes to the state of a Web Form across postbacks. The
view state of a page is, by default, placed in a hidden form
field named __VIEWSTATE.

Is This Answer Correct ?    1 Yes 0 No

What is view state and how this can be done and was this there in asp?..

Answer / mahendran

View state: values are stored automatically hidden field in
client side

Is This Answer Correct ?    1 Yes 1 No

What is view state and how this can be done and was this there in asp?..

Answer / nilesh lende

ViewState is a hidden component which is being stored at
client side. It is basically used to retain the data of the
form during round trip to the server.

Viewstate is introduced in asp.net, it was not in classic
asp.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is source control?How to use in asp.net?

1 Answers  


How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?

1 Answers  


Give me one example of Web API Routing?

0 Answers  


What does asp in asp.net stand for?

0 Answers  


What is the difference between sealed vs static class?

0 Answers  


Should I delete cookies?

0 Answers  


How do I upload a file from my ASP.NET page?

0 Answers  


I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)

0 Answers   HCL,


How to call a child form method from the master page?

1 Answers  


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

0 Answers  


Explain the role of global.asax?

0 Answers  


Explain managed code an un-managed code.

0 Answers  


Categories