473,397 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

.net Validation Controls dont work in Netscape ! Help

Hi,

I am using the .NET validation controls for validating .
The validation works fine with IE but none of them work with
Netscape 6 browser.

Do i have to configure something in vS.NET to make the validations
work in Netscape too or is it .net validation controls dont work with
Netscape.

Raagz
Nov 18 '05 #1
5 1566
does the NN user have javascript turned off? Reset it all to default
settings first.
Otherwise you may have to switch to Server validations instead of Client

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"raagz" <ra*****@yahoo.com> wrote in message
news:e1**************************@posting.google.c om...
Hi,

I am using the .NET validation controls for validating .
The validation works fine with IE but none of them work with
Netscape 6 browser.

Do i have to configure something in vS.NET to make the validations
work in Netscape too or is it .net validation controls dont work with
Netscape.

Raagz

Nov 18 '05 #2
Raagz,

Unfortunately we can't trust client side validation to ever work 100% of the
time. The only trustworthy validation occurrs server side.

When creating a .net web application which uses validation you should always
encase code that runs only after validation in the following if then:

If Page.IsValid Then
'---Code to run if page is valid
End If

..Net will validate a page client side if the browser is compatible. But in
the event that the browser is not compatible validation will still occurr
automatically server side. And, after the postback to the server, the same
validation messages will appear on the client if the page isn't valid.

I hope this helps.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"raagz" <ra*****@yahoo.com> wrote in message
news:e1**************************@posting.google.c om...
Hi,

I am using the .NET validation controls for validating .
The validation works fine with IE but none of them work with
Netscape 6 browser.

Do i have to configure something in vS.NET to make the validations
work in Netscape too or is it .net validation controls dont work with
Netscape.

Raagz

Nov 18 '05 #3
..net does not output the validation javascript for any browser other than
IE, so only serverside validation will work. you can't fake it either as the
script is written using IE proprietary methods rather then the w3c methods

note: serverside validation is not run unless your page calls IsValid

-- bruce (sqlwork.com)
"raagz" <ra*****@yahoo.com> wrote in message
news:e1**************************@posting.google.c om...
Hi,

I am using the .NET validation controls for validating .
The validation works fine with IE but none of them work with
Netscape 6 browser.

Do i have to configure something in vS.NET to make the validations
work in Netscape too or is it .net validation controls dont work with
Netscape.

Raagz

Nov 18 '05 #4
Ted
Try setting the page target schema to NN 4, or IE3/NN3. The default is IE5. This will cause client side script to be more generic. Right-click your aspx page and select "properties".
Nov 18 '05 #5
As you already heard in this thread, the javascript Microsoft outputs works
on IE but not other browsers. More specifically it uses DHTML, not DOM. So
it cannot work on Netscape/Mozilla. It does not matter what you set the
page's ClientTarget to, Microsoft only supplies one script file,
WebUIValidation.js, and its using DTHML.

This is one of the reasons I wrote a replacement to Microsoft's validators
with my product "Professional Validation And More"
(http://www.peterblum.com/vam/home.aspx). It overcomes the many limitations
of Microsoft's validators and greatly expands what you can do. Its designed
to avoid the custom coding and hacks users have developed to work with
Microsoft's validators. Professional Validation And More provides client
side validation on IE, IE/Mac, Netscape/Mozilla, Opera 7, and Safari. For
other browsers, it gracefully scales down to server side only validation.

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

"raagz" <ra*****@yahoo.com> wrote in message
news:e1**************************@posting.google.c om...
Hi,

I am using the .NET validation controls for validating .
The validation works fine with IE but none of them work with
Netscape 6 browser.

Do i have to configure something in vS.NET to make the validations
work in Netscape too or is it .net validation controls dont work with
Netscape.

Raagz

Nov 18 '05 #6

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

Similar topics

1
by: Mike George | last post by:
I am having a problem with dynamic validation controls. I have some code that uses an XSLT to transform an XMLDocument into HTML which creates ASP.NET validation controls dynamically (v 1.1). ...
0
by: Chris Nunciato | last post by:
I'm working on a simple Web application that uses a wizard-style data-entry paradigm (seven "pages", using "next" and "previous" buttons), and I'm having a problem with the validation. On page...
3
by: Rick | last post by:
I have an interesting problem when I run the following code in Netscape (7.02) vs. IE. This page works great in IE and all my controls bring up the validation summary dialog box if the required...
3
by: Srinivasa Raghavan | last post by:
Hi all, The Asp.net validation controls are skipping the validations in netscape.Please suggest a solution for this. Thanks Srinivasa Raghavan
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
5
by: raagz | last post by:
Hi, I am using the .NET validation controls for validating . The validation works fine with IE but none of them work with Netscape 6 browser. Do i have to configure something in vS.NET to...
4
by: PCH | last post by:
I've run into a big problem with Opera 7x users. It appears that most pages do not render the panels correctly, and form validation does not fire at all. I tracked down some threads about the...
6
by: Stephen | last post by:
Hi, the validation controls dont work on Netscape or Mozilla and only on Internet Explorer why? How do i correct this problem? Thanks
6
by: Stephen | last post by:
Hi, Does Validation controls like "Required field validator".... ever work with Netscape or we have to write javascript for either client-side or write server side validation. Please advice....
4
by: Stephen | last post by:
Hi scott, thanks for the reply but the required field validator does not work "as required" in netscape. suppose i have a text box and a required field validator, when I hit the "button" in IE,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.