Search:
Namespaces
Discussions
.NET v1.1
Feedback
Validation Controls
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.faqs
.
Post a new message to this list...
Stephen
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
Reply to this message...
Raghavendra T V
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
"Stephen" <
Click here to reveal e-mail address
> wrote in message
news:%
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
System.Web.UI.Page
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com