473,396 Members | 1,757 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,396 software developers and data experts.

Validators in netscape

Hi every one

I wanted to use RegularExpressionValidator and other validators in my
asp.net pages.
when I use internet explorer as a browser it works fine but when I use
netscape or other browser it doesn’t work.

Is there any body who know what I have to do to solve my problem?
Thank you

Nov 18 '05 #1
3 1406
Client-side validation only works in IE, you can still use them but via
server-side validation:

Sub Button_Click
Page.Validate()
if Page.IsValid Then
'put your code here
end if
end sub

Or you can get Paul Glavich's DOM validators (free) to do the trick:
http://aspalliance.com/glav/downloads/domvalidators.zip

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Masoud Amiri" <Ma*********@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
Hi every one

I wanted to use RegularExpressionValidator and other validators in my
asp.net pages.
when I use internet explorer as a browser it works fine but when I use
netscape or other browser it doesn't work.

Is there any body who know what I have to do to solve my problem?
Thank you

Nov 18 '05 #2
Thank you Karl

I used Paul Glavich's DOM validators.
It works fine in Internet Explorer but when I use it in netscape it works
after post back a page.
For example I wanted to get user information and save them in database.
When I Click the Register button it save the information in database and
after that validator notifys me for example " you entered the wrong email
address".
please tell me what I can do to solve my problem.

Thanks
"Karl Seguin" wrote:
Client-side validation only works in IE, you can still use them but via
server-side validation:

Sub Button_Click
Page.Validate()
if Page.IsValid Then
'put your code here
end if
end sub

Or you can get Paul Glavich's DOM validators (free) to do the trick:
http://aspalliance.com/glav/downloads/domvalidators.zip

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Masoud Amiri" <Ma*********@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
Hi every one

I wanted to use RegularExpressionValidator and other validators in my
asp.net pages.
when I use internet explorer as a browser it works fine but when I use
netscape or other browser it doesn't work.

Is there any body who know what I have to do to solve my problem?
Thank you


Nov 18 '05 #3
Masoud Amiri wrote:
Thank you Karl

I used Paul Glavich's DOM validators.
It works fine in Internet Explorer but when I use it in netscape it
works after post back a page.
For example I wanted to get user information and save them in
database. When I Click the Register button it save the information in
database and after that validator notifys me for example " you
entered the wrong email address".
please tell me what I can do to solve my problem.

Thanks


Before you save the info to the database, you need to check for
Page.IsValid. Maybe you need to call Page.Validate() first.

Hans Kesting
Nov 18 '05 #4

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

Similar topics

1
by: Tom Pearson | last post by:
I create controls and validators dynamically dependent on data at runtime. I create the control then the relevant validator(s) for it assigning the Control.ID as the control to validate. These...
0
by: Tom Pearson | last post by:
I create controls and validators dynamically dependent on data at runtime. I create the control then the relevant validator(s) for it assigning the Control.ID as the control to validate. These...
6
by: Mark | last post by:
We have Validators embedded in an asp table server control. The table server control is necessary and cannot be replaced. We want to apply CSS formatting to the validators, but the validators...
0
by: interuser | last post by:
I have an existing large application that uses validators. I have a problem with the client side validators not working on netscape (and any browser other than IE). As you may already know, the...
3
by: John Blair | last post by:
Hi, I have validators outside of a datagrid (for adding a new grid row) - however when i click "edit" column and then the "update" column of a grid row that has been edited - my other...
1
by: epigram | last post by:
I'm trying to use the ASP.NET validators to check some client-side business rules. I've got two ASP TextBox controls (call them tbxYear1 and tbxYear2) used to enter a range of years. I've got a...
1
by: Gabriel Lozano-Morán | last post by:
When using the tabstrip control combined with a multipage (several pageview) there is a problem when using validators. The problem is that validation also occurs on the validators that are not on...
5
by: John Abbler | last post by:
I'm currently testing doing some testing with other browsers and have found that my custom field validators aren't firing with Firefox or Netscape, but they work fine with Ie. Here's the code...
2
by: Mike Surcouf | last post by:
Hi I have some regex validators on my page set to dynamic and like the way they appear after you tab out of a field and also when you try to postback the form. All OK so far When I register...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...

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.