Should validation (did the user enter a real date) occur
server-side or client-side? Why?
Answers were Sorted based on User's Feedback
Answer / ramgopal reddy
Client-side. This reduces an additional request to the
server to validate the users input.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / fusion
Ramgopal is correct upto certain extent.
What if User has his Javascript disabled on browser?
Range Validator could do well there.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sulochana singh
Client-side validation because there is no need to request a server side date when you could obtain a date from the client machine.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / surendra singh
It should occur both at client-side and Server side.By using expression validator control with the specified expression ie.. the regular expression provides the facility of only validatating the date specified is in the correct format or not. But for checking the date where it is the real data or not should be done at the server side, by getting the system date ranges and checking the date whether it is in between that range or not.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
What are server objects?
What are the server control tags in asp.net.?
What is the file through which you can customize your asp.net application?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
0 Answers InfoAxon Technologies,
What are the different method of navigation in asp.net?
repeater and gridview diff? Why is repeater fast than gridview?
How much data (Max K) can go into a QueryString?
What is the roll of JIT in asp.net?
What is validationsummary server control? where it is used ?
Where the assembly is stored in asp.net?
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)