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 |
Types of authentications in ASP.NET ?
9 Answers Accenture, Roland, Shriram,
How can i include both C# and vb.net classes in same solution?
Explain difference between dataset and datareader?
I have one .Net application and i have two databases which is in SQL server2000 and one more database in ORACLE? how can i access the database from different Databases?
What are the data controls available in asp.net?
Name two properties common in every validation control?
What is a bubbled event?
Is session stored in browser?
How do you create a master page?
What is asp short for?
What is asp.net and ado net?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
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)