Live Help (Start Chat)
View Count: 0
Duration: 24 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 36 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 26 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 26 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 45 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 21 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 24 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 27 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 33 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 11 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 32
What is Control State in State Management? 
Options:
  1. It is used to save critical information of a control during page post backs and cannot be turned off.
  2. It is used to save critical information of a control during page post backs and can be turned off.
View Answer/Explanation:
a
Explanation:
It is used to save critical information of a control during page post backs and cannot be turned off. The same information can be lost if saved in View State as this can be turned off. This should not be used as an alternative for View State.

Question No: 2 of 32
Is Viewstate of one page is available to another page? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
b
Explanation:
The View State property provides a dictionary object for retaining values between multiple requests for the same page.

Question No: 3 of 32
What is ViewState? 
Options:
  1. It is used to store local variables that can be used in different pages
  2. It is used to save only integral values
  3. It is used to store serialized data
  4. None of the above
View Answer/Explanation:
c
Explanation:
View State allows the state of objects (serializable) to be stored in a hidden field on the page. View State is used the retain the state of server-side objects between post backs.

Question No: 4 of 32
What does the "EnableViewState" property do? 
Options:
  1. It is a property that can be set to true/false
  2. This enables/disables ViewState for individual controls
  3. Helpful in controlling the ViewState size
  4. All the above
View Answer/Explanation:
d
Explanation:
It allows the page to save users input on a form across post backs. It saves the server-side values for a given control into ViewState, which is stored as a hidden value on the page before sending the page to the client’s browser. When the page is posted back to the server the server control is recreated with the state stored in ViewState. For certain controls, the "EnableViewState" property can set accordingly and thus help in keeping the size of ViewState in check.

Question No: 5 of 32
What are the different types of Session state management options available with ASP.NET? 
Options:
  1. In-Process
  2. Out-Process
  3. Both the above
  4. None of the above
View Answer/Explanation:
c
Explanation:
There are two types of session state management options available Those are: In-Process: In-Process stores the session in memory on the web server. This requires a "sticky-server" (or no load-balancing) so that the user is always reconnected to the same web server. Out-Process: Out-of-Process Session state management stores data in an external data source. The external data source may be 1) State server session state 2) Sql server session state 3) Custom server session state 4) mode=”off” ? In this session will be disabled

Question No: 6 of 32
___________ can be used for sharing data between requests by any user but its scope is local   to the web form in which it is declared. 
Options:
  1. static member in web form class
  2. shared member in web form class
  3. shared/ static member in web form class
  4. none
View Answer/Explanation:
c
Explanation:
Static members are shared between user sessions. Every new user will overwrite them.

Question No: 7 of 32
By making the members of the class as _________, we can store data in that member in one web-form and retrieve that in another web-form. 
Options:
  1. Shared
  2. Static
  3. Shared/ Static
  4. None
View Answer/Explanation:
c
Explanation:
Static members are shared between user sessions. Every new user will overwrite them.

Question No: 8 of 32
ViewState is a type of _________ 
Options:
  1. StateBag
  2. Context
  3. string
  4. Enum
View Answer/Explanation:
c
Explanation:
ViewState is simple a way to store and retrieve controls from the statebag class. This way it keeps the "State" of the control when it is rendered back to the page.

Question No: 9 of 32
ViewState is used for storing state/data to be used in __________ to the same web form 
Options:
  1. Post
  2. Postback
  3. Response
  4. query
View Answer/Explanation:
b
Explanation:
View state is the method that the ASP.NET page framework uses to preserve page and control values between round trips.

Question No: 10 of 32
___________ is a collection of key-value pairs on server side 
Options:
  1. ViewState
  2. HiddenField
  3. Session
  4. HttpCookie
View Answer/Explanation:
c
Explanation:

  1