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

They mostly asked difference between versions of technologies

934


What is the significance of ASP.NET routing?

630


Explain the benefits of viewstate?

574


What is & in a url?

523


What is DataGrid wheater its a Server Control or something else ?

595






Explain automatic memory management in .net.

588


How ASP and ASP.NET page works? Explain about asp.net page life cycle?

579


Disable browser cache for entire ASP.NET website?

659


How can we call webservices in Banking Applications? and where we are using it?

1526


How can we identify that the page is post back in asp net?

505


What does a switch do?

533


Explain asp.net application life cycle?

542


How to manage different kinds of sessions in ASP.NET?

559


Is viewstate secure?

503


What is the file extension of web service?

551