client side validation without postback
Hi..all,
Im new to dotnet. I want to know how to do client script validation (say..javascript) without submitting the page. RequiredFieldValidator is useful when the user omits any entry.
But while clicking the submit button of the page, i want to do a validation in javascript as the text box entry should be a number and should not exceed the value 1000. since the button is a server control, after the javascript, control is not getting terminated. page continues to server side script and got submitted. how to overcome this without going to server side script?
Thanks in advance.
Best Regards,
Saravanan.
__________________
Best Regards,
Saran.
|