about view state and how validation controls will be
executed on client and server
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
What?s the difference between Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs"?
1 Answers Getit, Siebel, Visual Soft,
Where sessions are stored?
Is it possible to add aspx.vb file in to C# Web Project? If so how can i use the vb file in the C# Web project?
What is form method?
What are the objects in used in ASP for processing input and outputs?
what is client-server architecture in .net? and what is 3-tier architecture?
What is difference between view and partial view?
On Age field how many Asp.Net validation controls will be suit?
7 Answers NTTF Nettur Technical Training Foundation, Quest,
How many types of Cookies are available in ASP.NET?
What are sessions used for?
What are the elements of a website?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)