mrmac presents two browser related issues: client-side validation and HTML
formatting that differs. Both can be addressed.
1. Client-side validation.
Microsoft made a decision to create their client-side validation code
according to their DHTML standard, used by IE and IE/Mac but not Mozilla
(which follows the W3C standard).
Microsoft in general has not made the most feature rich web controls. There
are many reasons for it:
- They have a very large variety of classes and technologies to build. So
they deliver usable a TextBox control without neat features like using
javascript to filter out unwanted keystrokes. In ASP.NET 2.0, they are
introducing many new web controls with some good features although still,
users will find limitations in them.
- They have built this system using OOP technology. Its designed for
expansion. (Javascript on the other hand is not really OOP and their
client-side validation code is not expandable without directly editing their
scripts.)
- They know that third parties will fill in the gaps (provide an enhanced
textbox with filtering keystrokes - I do this in my Professional Validation
And More product).
I am a third party control developer. I have built a significantly better
validator system for ASP.NET, "Professional Validation And More"
(
http://www.peterblum.com/vam/home.aspx). It has 22 validators that support
IE, IE/Mac, Mozilla, FireFox, Netscape7, Opera 7 and Safari. It has a lot of
new features people ask for that Microsoft isn't delivering (because of the
reasons I listed above).
2. Formatting is incorrect.
ASP.NET has a system called "BrowserCapabilities" that describes the
featureset of each browser. The issue is that Microsoft did not define
BrowserCapabilities for all of the modern browsers. (You will find them in
machine.config.) Its up to you to define them. However, there is a very
quick way to make all browsers use the same HTML. Set <@ Page
clientTarget="upLevel" >.
--- Peter Blum
www.PeterBlum.com
Email: (e-mail address removed)
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx