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 |
Explain the differences between Server-side and Client-side code?
12 Answers Cognizant, CTS, Siebel Systems, Visual Soft,
what is Repeater Control, When it is used,How it is used, what type of template is used for repeater control?
What is application state?
Where are session variables stored?
what is .net
How to merge 2 tables fields in DataTable in asp.net
In cache where dats is stored and how(file or object?)
.net allows which inheritence
6 Answers AG Technologies, Samcomm,
What is the difference between page.registerclientscriptblock and page.registerstartupscript?
What is a master page and what does it do?
Why would a company use an application service provider?
What is difference between asp state management and asp.net state management?
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)