Re: ASP.NET Validation controls and Firefox/Netscape 7.1

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Peter Blum (PLBlum_at_Blum.info)
Date: 12/03/04


Date: Fri, 3 Dec 2004 12:40:17 -0500

Hi John,

Why do the test when the answer of why FireFox doesn't work is well known?
Microsoft wrote their scripts in DHTML. Specifically, they use
document.all[] instead of document.getElementById() to access the <span>
tags that represent the validators.

This article discusses it in detail:
http://aspnet.4guysfromrolla.com/articles/051204-1.aspx

Another third party solution is "Professional Validation And More"
(http://www.peterblum.com/vam/home.aspx). Its 22 validators provide
client-side validation on IE, IE/Mac, Netscape 7, Mozilla, FireFox, Opera 7
and Safari.

--- Peter Blum
www.PeterBlum.com
Email: PLBlum@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"John M Deal" <johndeal@necessitysoftware.com> wrote in message
news:e8hjO9U2EHA.3468@TK2MSFTNGP14.phx.gbl...
>I have a theory on this that I haven't been able to test out yet where I
>think it may be related to browsercaps. Browser caps is where the ASP.Net
>server thinks that it is dealing with a browser that has the full
>capabilities of a newer browser vs the limited capabilities of an older
>browser. The reason I think this might be the case is because I have found
>that in FireFox the page's form's onSubmit attribute is not set to cancel
>the submit if the page isn't valid, IE has this attribute set so it would
>seem that at least that part may have something to do with browser caps
>settings.
>
> The only way to find out would be to try and see if modifying the browser
> caps settings will work. Like I said this is only a theory of mine at this
> point and I don't have the time right now to test it out. Here's a link to
> a site that has some additional information on this. Hope it helps.
>
> http://weblogs.asp.net/mrupp/archive/2003/04/03/4789.aspx
>
> Have A Better One!
>
> John M Deal, MCP
> Necessity Software
>
> P.S. One of these days I'll actually test this out and either prove or
> disprove this theory. If you try it out please post your results.
>
> msuk wrote:
>> All,
>>
>> I have a ASP.NET/C# webform thats contains some validation controls.
>> When I view this page in IE the control work fine and validates the
>> user's input.
>>
>> When I view the same page in firefox 1.0 or Netscape the validation
>> controls do not work at all and an exception is display. How can I make
>> the validation controls work in Firefox/Netscape 7.1?
>>
>> Thanks
>> Msuk



Relevant Pages

  • Re: Browser testing a site on Linux
    ... other than Firefox. ... Is there any tool that allows me to do such browser ... I would commend you to www.w3c.org for validation tools. ... validated html and css you should have no problems. ...
    (comp.os.linux.misc)
  • Re: Browser testing a site on Linux
    ... other than Firefox. ... Is there any tool that allows me to do such browser ... I would commend you to www.w3c.org for validation tools. ... validated html and css you should have no problems. ...
    (comp.os.linux.misc)
  • Re: Browser testing a site on Linux
    ... other than Firefox. ... Is there any tool that allows me to do such browser ... I would commend you to www.w3c.org for validation tools. ... validated html and css you should have no problems. ...
    (comp.os.linux.misc)
  • Re: IE launching when Firefox is default browser
    ... After making FireFox my default ... went to the Links folder on my ... default browser via the Control Panel>Add/Remove Programs>Set Program Access ... Replies are posted only to the newsgroup for the benefit or other readers. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Where is the notificiation about IE zero day vulnerablity?
    ... > protected your Firefox web client. ... > talking about how it was poised to be the one browser to finally ... some only the local news and others the weather. ... already reporting it - report the problem as well.. ...
    (microsoft.public.security)