it is been done so these validation check are called front end check they are put check on client side when page is loaded on client computer once all check are done then only page will be post back