P
Pat
its seems asp.net validation doesn't fire when using FireFox?
Tested a page and it doesn't fire.
It seems the javascript doesn't fire
Any ideas?
Tested a page and it doesn't fire.
It seems the javascript doesn't fire
Any ideas?
WJ said:.Net is an advanced system that is run on MS/Windows platform only ! Period
! Certain features will not work with non-ms browsers as you found out. As a
result, you may want to tell your users that to use your website, MSIE is
required. However, if you wish to allow all platforms to participate in your
website, then you have two choices: a) Do not use .Net period and or b) Use
.Net but do not use advanced features offered in .Net.
John
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
ASP.NET is very capable of
supplying content for mobile devices too.
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.
BTW the reason the page doesn't validate with Firefox could be because you
have java/script turned off.
Period !
WJ said: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.
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) ?
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.
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)
Kevin Spencer said:Incorrect! Period! See http://asptoday.com/Content.aspx?id=2339. It explains
how ASP.Net uses a config section called <browserCaps> to enable the
server-side components to interact with a variety of browsers. In addition,
it describes the problem with the version of browserCaps that is installed
with the .Net Framework 1.1. Finally, it details how to rememdy the issue,
and has a link to a complete and excellent browserCaps config section that
can be added to the machine.config file, and instructions on how to do it!
--
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.
Kevin said:Most
ASP.Net Controls are browser-aware, and use the <browserCaps> Configuration
Section in the machine.config, or web.config file. This file can easily be
modified, as per this article: http://asptoday.com/Content.aspx?id=2339.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.