Elements working on client side - ASP.NET Introduction

Q.  Which of the following works on client side?
- Published on 19 Oct 15

a. ViewState
b. HiddenField
c. ControlState
d. All of the above

ANSWER: All of the above
 
The following objects works on the client side in ASP.NET.

1. view state. It works within the page only. You cannot use view state value in next page.
2. control state: You can persist information about a control that is not part of the view state. If view state is disabled for a control or the page, the control state will still work.
3. hidden fields: It store data without displaying that control and data to the user’s browser. Hidden fields data is available within the page only (page - scoped data).
4. Cookies: Cookies are small piece of information that server creates on the browser. Cookies store a value in the user’s browser that the browser sends with every page request to the web server.
5. Query strings: In query strings values are stored at the end of the URL. These values are visible to the user through his or her browser’s address bar. Query strings are not secure.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)