I have a button on the form which has causes validation set to true... when
I click on it not one of my validating events fires on the form... every
single control with it just skips over it and the button executes its
procedure without validation... now when i go to a control then tab off it
the validating event does fire... what in the world is going on here? im
lost... it never acted like this before.... this is VS2008 with .NET 3.5 5 974
Smokey,
I never saw it acting in another way.
Cor
"Smokey Grindel" <no****@nospam. comschreef in bericht
news:eo******** ******@TK2MSFTN GP03.phx.gbl...
>I have a button on the form which has causes validation set to true... when I click on it not one of my validating events fires on the form... every single control with it just skips over it and the button executes its procedure without validation... now when i go to a control then tab off it the validating event does fire... what in the world is going on here? im lost... it never acted like this before.... this is VS2008 with .NET 3.5
what do you mean? you never saw it act like i described or thast the way you
think it should work? I always put controls on a form and told the button
click to cause validation and it always fired the validate methods... we've
been doing it that way for years now and never had a problem
"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:16******** *************** ***********@mic rosoft.com...
Smokey,
I never saw it acting in another way.
Cor
"Smokey Grindel" <no****@nospam. comschreef in bericht
news:eo******** ******@TK2MSFTN GP03.phx.gbl...
>>I have a button on the form which has causes validation set to true... when I click on it not one of my validating events fires on the form... every single control with it just skips over it and the button executes its procedure without validation... now when i go to a control then tab off it the validating event does fire... what in the world is going on here? im lost... it never acted like this before.... this is VS2008 with .NET 3.5
oops i forgot to say that the buttons validate isnt whats running...
probably made no sense without that... was typing without thinking... if i
click the button its validating event doesnt fire and in that event i call
the validate method on the other controls
"Smokey Grindel" <no****@nospam. comwrote in message
news:uw******** ******@TK2MSFTN GP05.phx.gbl...
what do you mean? you never saw it act like i described or thast the way
you think it should work? I always put controls on a form and told the
button click to cause validation and it always fired the validate
methods... we've been doing it that way for years now and never had a
problem
"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:16******** *************** ***********@mic rosoft.com...
>Smokey,
I never saw it acting in another way.
Cor
"Smokey Grindel" <no****@nospam. comschreef in bericht news:eo******* *******@TK2MSFT NGP03.phx.gbl.. .
>>>I have a button on the form which has causes validation set to true... when I click on it not one of my validating events fires on the form... every single control with it just skips over it and the button executes its procedure without validation... now when i go to a control then tab off it the validating event does fire... what in the world is going on here? im lost... it never acted like this before.... this is VS2008 with .NET 3.5
and there lies my problem... i put it in the wrong event ment to put
validatechildre n in the click not the validating event... whoops...
"Smokey Grindel" <no****@nospam. comwrote in message
news:uf******** ******@TK2MSFTN GP04.phx.gbl...
oops i forgot to say that the buttons validate isnt whats running...
probably made no sense without that... was typing without thinking... if i
click the button its validating event doesnt fire and in that event i call
the validate method on the other controls
"Smokey Grindel" <no****@nospam. comwrote in message
news:uw******** ******@TK2MSFTN GP05.phx.gbl...
>what do you mean? you never saw it act like i described or thast the way you think it should work? I always put controls on a form and told the button click to cause validation and it always fired the validate methods... we've been doing it that way for years now and never had a problem
"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message news:16******* *************** ************@mi crosoft.com...
>>Smokey,
I never saw it acting in another way.
Cor
"Smokey Grindel" <no****@nospam. comschreef in bericht news:eo****** ********@TK2MSF TNGP03.phx.gbl. .. I have a button on the form which has causes validation set to true... when I click on it not one of my validating events fires on the form... every single control with it just skips over it and the button executes its procedure without validation... now when i go to a control then tab off it the validating event does fire... what in the world is going on here? im lost... it never acted like this before.... this is VS2008 with .NET 3.5
Yea,
That changes a lot
:-)
Cor
"Smokey Grindel" <no****@nospam. comschreef in bericht
news:uf******** ******@TK2MSFTN GP04.phx.gbl...
oops i forgot to say that the buttons validate isnt whats running...
probably made no sense without that... was typing without thinking... if i
click the button its validating event doesnt fire and in that event i call
the validate method on the other controls
"Smokey Grindel" <no****@nospam. comwrote in message
news:uw******** ******@TK2MSFTN GP05.phx.gbl...
>what do you mean? you never saw it act like i described or thast the way you think it should work? I always put controls on a form and told the button click to cause validation and it always fired the validate methods... we've been doing it that way for years now and never had a problem
"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message news:16******* *************** ************@mi crosoft.com...
>>Smokey,
I never saw it acting in another way.
Cor
"Smokey Grindel" <no****@nospam. comschreef in bericht news:eo****** ********@TK2MSF TNGP03.phx.gbl. .. I have a button on the form which has causes validation set to true... when I click on it not one of my validating events fires on the form... every single control with it just skips over it and the button executes its procedure without validation... now when i go to a control then tab off it the validating event does fire... what in the world is going on here? im lost... it never acted like this before.... this is VS2008 with .NET 3.5
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bilal |
last post by:
Hi,
I have a field that requires validation when you press a button as
follows:
<form name="form_affiche" enctype = "multipart/form-data"
method="get">
.....
<td width="80"><input type="Button" name="submitButton"
value="Modifier" tabindex="3" onClick="if(isValid())
{document.form_affiche.action='order.php';document.form_affiche.submit();}return
false;"></td>
|
by: raj |
last post by:
hi,
i have one textbox and one save button, i have added attribute at page
load event
btnSave.Attributes.Add("onclick","return ValidateForm();");
in validationform() ,I have written like this
if(--some validation function here--)
{
|
by: Micky |
last post by:
VB v7.1.3088
NET v1.1.4322 SP1
My mate has a strange problem regarding the ESC key and validation. When he
hits the Cancel button on his form, the form does not validate. This is
correct behaviour of course. However, he also wants this same behaviour when
hitting ESC on the keyboard.
It was my understanding that when you assign a button to a form's
CancelButton property you automatically gained this functionality. However,
|
by: stevieb |
last post by:
Apologies if this is not the proper forum section.
I've embedded a third party Storefront (my account) with Iframes.....and it works fine except that when I go to checkout ...my browser requires I lower the cookie security from medium to low...which is not an acceptable request for visitors.
When I go directly to the storefront page (no embedded iframe) it works fine. I am assuming my page that is doing the iframe does not have a necessary...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |