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
Explain the difference between globalization and localization techniques
Explain the difference between the web config and machine config.
What is the parent class of all the web server control?
When you use Ajax controls in the ASP.NET application?
How do we access view state value of this page in the next page?
Explain the different types of directives in .net?
What is session in web technology?
How can we Validate a Controls in ASP.NET page using JavaScript?
What does a switch do?
Explain the asp.net mvc request life cycle? : asp.net mvc
What is request and response in asp.net?
Can you explain composite pattern?
What does the orientation property do in a menu control?
How can we make sure that Web API returns JSON data only?
What is caching? Explain.