473,545 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.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 1572
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.goo gle.com...
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.goo gle.com...
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.goo gle.com...
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 "Profession al 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****@PeterBlu m.com
Creator of "Profession al Validation And More" at
http://www.peterblum.com/vam/home.aspx

"raagz" <ra*****@yahoo. com> wrote in message
news:e1******** *************** ***@posting.goo gle.com...
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
2010
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). The controls are being successfully created, because validation works correctly in IE. However, validation does not work in Netscape. Additionally,...
0
1393
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 one (which is actually just a Panel control), when the user clicks "next," I hide Panel_1 and show Panel_2. However, the RequiredFieldValidator...
3
2759
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 field is not filled out. However in Netscape NONE of the required field validations occurs at all in Netscape. The form is posting correctly because...
3
1741
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
6274
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) show the error message next to the control. For example, if the text field is empty with RequiredField Validator control, it can show the value in...
5
304
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 make the validations work in Netscape too or is it .net validation controls dont work with Netscape.
4
1287
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 machine.config file and opera. I changed some of the filter options on the Opera case to match IE5.5+s settings, that got me around the panel...
6
2403
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
2272
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. Stephen
4
438
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, the required field validator captures it and only when I enter some value, it uses "Response.redirect to another page" but in Netscape, it just...
0
7808
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...
1
7423
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5972
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5329
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...
0
4945
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...
0
3450
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...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
704
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...

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.