I have an ASP.NET webform which I want to validate Client-Side and Server-Side, using the same validation controls. I can't seem to find the solution for this - the client validation works great, but when I disable javascript - It ignores the validation.
Help would much be appreciated.
Roman
You can always trigger validation by the validator1.Validate()
method, which will do the server-side comparison. Check Page.IsValid
to see if server-side validation isn't being performed? I think you can invoke it via Page.Validate()
.
HTH