Brock Allen said:
The ASP.NET validation always does server side validation regardless of
the type of browser, so if you use it, even though you might not get the
client side support in FireFox it'll still run the validation logic on the
server. Your server events (like Click) still fires, so to see if the page
passes validation, check the IsValid property in your event handlers
before taking the data and writing is to the DB.
The client-side validation is what I'm looking for. Server-side is no
problem; I just handle it as part of the record update process.
What I was hoping to do was handle the client-side with regular everyday
Javascript running off an HTML button. Then if the record passes validation,
have the Javascript submit the page to the server for handling there. Is
that possible?
I guess I will also want to intercept processing on a datagrid as well, and
perform client-side handling before submitting to the server.
Is this possible under ASP.NET, or am I just trying to design against its
architecture?
Thanks.