I\'m using .NET recently, and I check some fields.
I know that the check is client-side (javascript) and on server-side with :
Page.Validate();
if (
You are right, using Page.IsValid
will only return correct value if javascript is enabled / supported in the browser. So, good web programming practice is to run same validations again at server side regardless of client side validation consideration. Because client side javascript can be altered easily in browser to bypass that the validations.
That will ensure you are accepting correct values.