all groups > dotnet faqs > august 2004 >
You're in the

dotnet faqs

group:

Validation Controls


Validation Controls Stephen
8/27/2004 9:58:19 AM
dotnet faqs:
Hi,

Does Validation controls like "Required field validator".... ever work with
Netscape or we have to write javascript for either client-side or write
server side validation.

Please advice.
Stephen

Re: Validation Controls Raghavendra T V
8/30/2004 10:11:32 AM
Hi Stephen,

ASP.NET Validation controls work in client side(using javascript) and on
server side too(like Page.IsValid).

The validation controls do not work with Netscape (client ..javascript) but
if you have written (you must write if you have'nt) any

server side validation code that works irrespective of browser.

So if you need to validate ( client) for netscape too..you have to write you
own javascript for validation .

[For your knowledge: The javascript that is emitted by ASP.NET validation
controls make use of WebUIValidation.js file which works only with IE
but not with other browsers.]

Best practise: do validation both on client side as well as server side.

Hope this helps you.

Thanks
Raghavedra


[quoted text, click to view]

AddThis Social Bookmark Button