473,513 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

bypassing a validation

How can I cause validation to not take place when a certain button
click event fires?

I have a page with 2 buttons. If one of them is clicked I want the
field validated. If the other is clicked I do not want it validated.
I have been unable to find a way to make this happen.

Thanks, Russ

Nov 18 '05 #1
3 994
Have a look at Button.CausesValidation property.

--
Hope this helps,
Zeeshan Mustafa, MCSD

"Russ" <ru****@eticomm.net> wrote in message
news:o8********************************@4ax.com...
How can I cause validation to not take place when a certain button
click event fires?

I have a page with 2 buttons. If one of them is clicked I want the
field validated. If the other is clicked I do not want it validated.
I have been unable to find a way to make this happen.

Thanks, Russ

Nov 18 '05 #2
Excellent. Thank you. Don't know how I missed that one :)

Russ

On Sat, 3 Jul 2004 23:06:41 +0500, "M. Zeeshan Mustafa"
<ze*****@no-spm.please.zeeshan.net> wrote:
Have a look at Button.CausesValidation property.


Nov 18 '05 #3
pleasure, yea that happens..

--
Hope this helps,
Zeeshan Mustafa, MCSD

"Russ" <ru****@eticomm.net> wrote in message
news:pa********************************@4ax.com...
Excellent. Thank you. Don't know how I missed that one :)

Russ

On Sat, 3 Jul 2004 23:06:41 +0500, "M. Zeeshan Mustafa"
<ze*****@no-spm.please.zeeshan.net> wrote:
Have a look at Button.CausesValidation property.

Nov 18 '05 #4

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

Similar topics

2
11147
by: Jens Kalkbrenner | last post by:
MS SQL-Server 7.0 Bypassing recovery for database 'EfW_765' because it is marked IN LOAD. What does this mean? Our customer is backing up is maindatabase and is recovering it to this database for...
3
1360
by: Eric St-Onge | last post by:
Hi, I have a DLL that exposes COM interfaces. One of the COM Object receives an IDispatch pointer. I know that this IDispatch pointer is in fact a COM Callable Wrapper for a...
3
2396
by: MB | last post by:
Hi, I am doing a project which uses asp.net to develop its forms. The form uses validation web controls to validate the data entered in text boxes. When Cancel Button is pressed which is to exit...
2
2105
by: Bernie Yaeger | last post by:
I validate - through a delegate - several textbox data when an 'add' button is clicked. However, when the 'close' button is clicked, I don't want to validate - I just want to window to close. I...
4
1884
by: antonyliu2002 | last post by:
Let me try to make clear what my concern is. I think it is a pretty interesting one, which I think of while I am developing my web application. I have an authenticated/authorized web...
0
2945
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the...
1
1888
by: =?Utf-8?B?QXVzdGluIFN0ZXBoZW5z?= | last post by:
In my commercial financial application I run a deposit report. I use an option to copy the report to the Clipboard. I then run a .NET consol app to “grab” the Clipboard and format the data...
10
5505
by: Tim Streater | last post by:
I have a form and a button to submit it. The button is made from: <input type=button onclick='myHandler(this.form);'> This all works fine except that in Safari 2.0.4, the enter/return keys, if...
4
2124
Chrisjc
by: Chrisjc | last post by:
The question at hand is I bypass an array in column 4... but I also have something else that should be going in there from the database but because I am bypassing it and forcing it to show the ony...
0
7265
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
7171
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
7388
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
7545
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...
1
5095
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...
0
4751
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...
0
3240
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...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
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...

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.