How do you do validations. Whether client-side or
server-side validations are better ?
Answers were Sorted based on User's Feedback
Answer / abhishek kumar
Server side validation is always better option to have
safe side due to the following resons.
i) Client side script is always a security risk and in many
case it is not allowed, and for the same reason JavaScript
that is behind nearly all client side validation could be
turned off in web browser.
ii) Validation that requires a database only server side
validation is better option.
iii) Keeping all validation code at one place.
To minimise trips that user has to face in the case of
server-side validation it will be better option to validate
all input fields at once when they are submitted to server
and returning back a single error message for all invalid
entries.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / sivasaravanan
using javascript. Client side validation better.
| Is This Answer Correct ? | 2 Yes | 5 No |
Explain the difference between server control and html control.
What are session state modes? List some of the important session state modes of asp.net.
How Many types of Page Load functions in asp.net
Why is catch(Exception) almost always a bad idea?
Explain the features that make asp.net more used framework? : asp.net mvc
i have a register form & in that form i have a 2 textboxes for entering name&age.my doubt is that how can i provide error message like "invalid entry" when user enter a invalid name/age(eg:user enter name as #%%%##daff,and age as 1000.)in that textboxes.I want code.
What is interval time of GC in .net
where can i gather the materials for MCP certification
What is advantage and disadvantage of viewstate
what is the difference between console.writeline &console.output.writeline?
What is asp.net and how it works?
What are the various authentication mechanisms in ASP.NET ?
1 Answers Digital GlobalSoft, Satyam,
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)