validators and netscape

I

interuser

I have an existing large application that uses validators.

I have a problem with the client side validators not working on
netscape (and any browser other than IE). As you may already know, the
reason is that the validators use document.all which is regognized
only by IE's javascript (as opposed to document.getElementById() which
is regognized by all browsers.)

I do not want to use validators other than dotnet's (it's the standard
of my company)

When netscape calls my pages, the user can enter invalid data and
press submit and the code will execute. When the page comes back,
there are stars the in place of the validators that would fire if IE
was used!
I do not want to use page.isvalid for each UI event , because there
are way too many pages and events in my application. The only thing I
would accept would be to stop execution at page_load if not
page.isvalid. But then again, I do not know how to do that!

My questions are :
1) How can we enable validation for other browsers? I assume client
side validation is not possible, so we may have to resort to server
side validation for all browsers different than IE. So eventually the
question may be: how do we tune asp.net to do client side validations
for IE and server side validations for other browsers.

2) Is asp.net 2.0 going to support client side validation for all
browsers? If the answer is yes, then I will simply switch to client
side validation when I get asp.net 2.0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Validators 1
Validators 3
Validators and JavaScript 1
AJAX and validators 2
Validators 0
Using Validators to validate UserControls 0
Dynamic Validators 0
Client-Side Validation with Validators and JavaScript 4

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top