KMA said:
But I strongly disagree that ASP.NET should only be used with IE. Fact is
that market share is moving away from IE, although IE is still dominant.
You really have to cater for as much of the market that you practically
can. At
the moment we're talking about desktop browsers
Then we, developer should take care not to base our logic on one central
platform such as .Net. We should demand .Net creator (MS) to accomodate
other tools as well. Not just MSIE. So far, MS does not comply. Why do .Net
Validator controls work very well on MSIE but not on other browsers ?
Because "control of market by MS", period! I am not anti-MS, it is useless
to yell at a billionaire. I am just saying that, us, the developers, make
sure that stuffs donot work on non-MSIE should not be implemented because
they break anyway. Why use them.
ASP.NET is very capable of
supplying content for mobile devices too.
I am not up to speed on mobile devices. However, do these tiny devices host
non MS tools too ? Such as FF and NS ? I know mobile device only works with
Windows platforms (I could be wrong) ?
Of course, to cater for most browsers you have to write your app based on
the minimum shared spec. It's true that this precludes many "advanced"
features, but often these were just eye candy anyway. Your user doesn't
really *need* Java menus.
Well. My intention is mainly for KISS. If the tool itself (.net) already
provides such features as client validator controls, then why should I have
to write my own codes to do the same thing on the server ? It is a
duplication of effort that should be avoided. I do like the client validator
controls offered by Asp.Net, and I told my clients that you must use IE. In
fact, 99.9% of my clients are MS/Windows (98SE, and XP Home or Pro). These
OSes ship with MSIE. If other browsers don't work, then use IE.
BTW the reason the page doesn't validate with Firefox could be because you
have java/script turned off.
I tried this with NS too and it broke! On my website, I offered other JS
features such as onFocus, onBlur and doubleclick, etc, etc... and most of
those work fine on non MS browsers. So I know that my clients do enable JS.
Otherwise, Asp.Net form would not work in the 1st place. I hope VS2k5 will
be improved and that Validator controls would work with other browsers
(would be nice)
John