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 a program using code nuggets to create a simple application? : asp.net mvc
What is Web API?
How can we inherit a static member?
Explain a program using razor view engine to create a simple application? : asp.net mvc
What is voluum?
What is the equivalent of date() and time() in asp.net?
When should I use server transfer and response redirect?
IN an ASP.NET Web application if there is any error, how can you debug?
Which is faster union or union all?
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
Describe the .net base class library.
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
What are session cookies?
What is preprocessor in .net and type, where it use?
Explain model, view and controller represent in an mvc application? : asp.net mvc