473,734 Members | 2,806 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Validation and Firefox(js scripts doesn''t fire)

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?
Nov 19 '05 #1
45 4741
Try
http://asptoday.com/Content.aspx?id=2339
Regards
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #2
So are you saying it won't work

<sh**********@y ahoo.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Try
http://asptoday.com/Content.aspx?id=2339
Regards
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #3
My understanding is that .net doesn't support client side validation in
anything other than ie. Yay.

It does however validate on the server for these users... hope that
helps?

Nov 19 '05 #4
WJ
..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

"Pat" <na********@hot mail.com> wrote in message
news:ej******** ******@TK2MSFTN GP14.phx.gbl...
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?

Nov 19 '05 #5
Thx Mr John

"WJ" <Jo*******@HotM ail.Com> wrote in message
news:OU******** ******@TK2MSFTN GP10.phx.gbl...
.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

"Pat" <na********@hot mail.com> wrote in message
news:ej******** ******@TK2MSFTN GP14.phx.gbl...
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?


Nov 19 '05 #6
KMA
Bit of a sweeping statement. ASP.NET just outputs data for the browser to
render. Theoretically, the output is browser agnostic. Of course,
practically, the designers of ASP.NET share the canteen with the designers
of MSIE, so it's natural that they get together over a couple of milk shakes
and say things like "wouldn't the internet be great if we had client side
validation rather than shunting everything back and forth to the server". An
lo and behold, the IE team implement support for ASP.NET latest trick.

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.

"WJ" <Jo*******@HotM ail.Com> wrote in message
news:OU******** ******@TK2MSFTN GP10.phx.gbl...
.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

"Pat" <na********@hot mail.com> wrote in message
news:ej******** ******@TK2MSFTN GP14.phx.gbl...
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?


Nov 19 '05 #7
WJ

"KMA" <km*@chum.com > wrote in message news:dg******** **@atlas.ip-plus.net...

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
Nov 19 '05 #8
> So are you saying it won't work

Are you insane? If you read the article
(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.
"Patrick.O. Ige" <pa********@opt usnet.com.au> wrote in message
news:el******** ******@TK2MSFTN GP14.phx.gbl...
So are you saying it won't work

<sh**********@y ahoo.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Try
http://asptoday.com/Content.aspx?id=2339
Regards
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/


Nov 19 '05 #9
Excellent article and reference!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

<sh**********@y ahoo.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Try
http://asptoday.com/Content.aspx?id=2339
Regards
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4892
by: AnnMarie | last post by:
My JavaScript Form Validation doesn't work at all in Netscape, but it works fine in IE. I made some of the suggested changes which enabled it to work in IE. I couldn't make all the changes because then it didn't work in IE. How can I enable this javascipt form validation to work in Netscape? When I use netscape, none of the alert boxes appear. It submits the form without validating anything.
2
1739
by: Brett Porter | last post by:
Hi, I have many, many forms that use all of the different form validation controls. These work great on my local server however I have just been alerted to the fact that the form validation doesn't work at all on the web server causing all sorts of differing problems. I would assume that it has something to do with the JavaScript for the client side form validation however this is as far as I get.
0
1306
by: Buddy Ackerman | last post by:
I have one page where I used field validator controls and it works fine. It is set to do client side validation. I did the same thing on another page and set everything the same way as the first page and the validation doesn't work. Here is a textbox, validator control, button and validation suamry control from the first (working) page: <asp:TextBox ID="CustPassword" TextMode="Password" Columns="20" maxlength="50" runat="server"...
6
3360
by: Jon Paal | last post by:
validation doesn't fire what's missing ????? /////// ---- code -----/////////////////////////// Sub btnSubmit_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) 'Handles btnSubmit.Click If page.isValid then ..... end if
1
5483
by: David Henderson | last post by:
I know 'disable-output-escaping' has been discussed in the past, but I can't put my finger on any of the threads to see if my current problem is addressed. Sorry for re-asking the question if it has already been answered... I have an XML doc that I am transforming via XSLT and JavaScript in the browser. This allows me to return unsorted data to the browser and allow the user to sort it with a mouseclick and not hit the server just...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9182
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.