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


Please Help Members By Posting Answers For Below Questions

How can u deifne the benefits and limitation of using Viewstate for state management?

947


What is state management in asp.net with example?

716


what is AutoEventWireUp and what is the use of This property explain in details?

1383


How to improve performance of web application asp.net mvc? : Asp.Net MVC

767


Are there resources online with tips on asp to asp.net conversions?

788


What is a session http?

726


What is a session in asp.net?

781


What is the significance of proxy user?

842


What is data cache in sql server?

851


Explain Session state management options in ASP.NET.

855


How do you store a value in viewstate and retrieve them?

798


Explain in what order a destructors is called.

822


How do I use response redirect?

762


What's the use of formatters in .net?

809


How use Xml data in ASP.net?

781