about view state and how validation controls will be
executed on client and server

Answers were Sorted based on User's Feedback



about view state and how validation controls will be executed on client and server..

Answer / janardan baghla

View state is the object which is used to store the values
of a particular page during postback.It stores the values
in a hidden form field in form of string.And if again page
is loaded then it reloads the values of the controls on
particular page from the viewstate.Validation controls are
execute on clien-side.They contains isValid property which
is used to valid the control.Then it executes on the server.

Is This Answer Correct ?    7 Yes 0 No

about view state and how validation controls will be executed on client and server..

Answer / siddheshwar duchal mob- +91 97

ViewState allows the state of objects (serializable) to be
stored in a hidden field on the page. ViewState is
transported to the client and back to the server, and is not
stored on the server or any other external source. ViewState
is used the retain the state of server-side objects between
postabacks.
Item stored in ViewState exist for the life of the current
page. This includes postbacks (to the same page).
"EnableViewState" :- It allows the page to save the users
input on a form across postbacks. 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
clients browser. When the page is posted back to the server
the server control is recreated with the state stored in
viewstate.

The validation can be handeled on client side.

Is This Answer Correct ?    3 Yes 0 No

about view state and how validation controls will be executed on client and server..

Answer / zohaib shahid

The validation can be handeled on client side as well as on
the server side, and depends on the situation. Although the
client side validation can be handeled by the Java Script..

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More ASP.NET Interview Questions

How to stop the inheritance?

2 Answers   TCS,


What is Active Directory? What is the namespace for that?

2 Answers  


What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?

1 Answers  


What does the "EnableViewState" property do? Why would I want it on or off?

4 Answers  


To display data in a Repeater control which templete is provided ?

4 Answers   Siebel,






List the major built-in objects in asp.net?

0 Answers  


Explain how inline and code behind is used differently ?

1 Answers   Siebel,


What is the parent class of all the web server control?

0 Answers  


What is is post back property in asp net?

0 Answers  


What are Http handler ?

1 Answers   Patni,


I have a datagrid of 10 rows and I am updating the fifth row using template column edit. How wil u know that the row is updated, so that it can be send to database for updating the respective table?

3 Answers  


What are the objects of ASP.NET ?

6 Answers  


Categories