asp.net.netvalidationrangevalidator

ASP.net range validator moving to next page


I have put a range validator in a asp.net text box control in my webpage; whenever the range is not meeting; it will display the error message,

But it is moving to the next page. How can I prevent it from moving to the next page after the click of submit button while the range not met??


Solution