Should validation (did the user enter a real date) occur
server-side or client-side? Why?
Answer Posted / 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 |
Post New Answer View All Answers
How can you pass multiple complex types in Web API?
Why Unload event of MasterPage Calls first in ASP.net ?
What is the difference between cache and cookies?
How can we update records in gridview?Is there any appropriate code for it?
Explain how can we access static variable?
How would you turn off cookies on one page of your website?
What is GAC in ASP.NET 2.0
Explain login controls.
A Web Service Can Only Be Written In .net. Is it True??
Is it possible to change the index of primary key on table?
What is the use of execute non query in asp.net?
What is Web Server Control Templates.?
Describe how to implement globalization and localization in the use interface in .net.
What is the asp.net mvc folder conventions? : asp.net mvc
What is OSI layer? Explain different layers.