|
|
Download now
Demo code ZIP containing
Paul Glavich's DLL, MSDN's test ASPX and 4GuysFromRolla's
web.config updates.
View
the source of the test page.
About the code
This test page is lifted from MSDN
Samples but it uses Paul
Glavich's DOM Validators.
|
|
|
DOMValidators
November 2003
Microsoft's validation controls (well, the validation architecture in general) is
pretty cool, but severely limited by it's reliance on IE's DOM implementation.
Paul Glavich wrote a set of Validator
controls compatible with Netscape using the W3C DOM v1.0 rather than Microsoft's document.all. but
when I downloaded his code (it comes complete with VS.NET project) there was no 'sample'
to get running immediately.
The test ASPX page in this
ZIP allows you to try-out the DOMValidator controls quickly and easily. Useful
to confirm your web.config setup is correct, and to test on your favourite non-IE
browser (Mozilla, FireFox, Safari, etc).
Client-side validation in FireFox
view this test page (client side only)
which uses this web.config file
Safari Warning!
Although I understood the W3C DOM support in Safari would pretty much match Firefox, Mozilla, etc.,
apparently the DOMValidator controls don't work in Safari for the Macintosh. If you can offer any insight into
why this might be, please
subject=[ConceptDevelopment.NET] DOMValidators and Safari">send an email.
All the info you (should) need
DOM
Validator Controls MSDN Samples
Web.config
for Validator Sample for MSDN Samples, but useful for Paul's code too.
Test
page for DOM Validator controls - used to build this
test page
Paul Glavich's DOM
Validators - ZIP file
Client-Side Validation
in Downlevel Browsers (4 Guys from Rolla) - and A Look at ASP.NET's Adaptive Rendering
which contains web.config sections for Mozilla and Safari (but still refers to FireFox as FireBird)
Web.config
for Firefox & Netscape 7.1 is much more up-to-date than the MSDN page above.
Browser Testing and Detection
Resources for more info on BrowserCapabilities generally
Safari FAQ for the User-Agent string it uses...
Long! list of User-Agent Strings
|
|
Useful links
Validator
Control Samples
The Longhorn SDK contains samples for building controls that will work in Netscape!
Paul
Glavich's DOM Validators
The original (?) cross-browser validator implementation.
Validation And More
If you want to pay for cross-browser client-side validation, you might try Peter Blum's
control set - very complete and compatible with Mozilla, etc.
|