Howdy,
I have a page that has fields which have validators. What I want to do is
only validate the fields when the Next button is pressed, not every time a
function is called. The users are allowed to search for data before they
select it. Upon selecting it, its ID is loaded into a textbox. That textbox
is validated. However, as soon as they search for data, the validator is
fired. Is there anyway of disabling the validators until I want them to
validate?
Thanks!!
David Lozzi 3 820
> I have a page that has fields which have validators. What I want to do is only validate the fields when the Next button is pressed, not every time a function is called.
private sub button_next_click()...
yourValidatorControl.Validate
if yourValidatorControl.isvalid then...
-Darrel
Set the Search button's CausesValidation=false
-Brock
DevelopMentor http://staff.develop.com/ballen Howdy,
I have a page that has fields which have validators. What I want to do is only validate the fields when the Next button is pressed, not every time a function is called. The users are allowed to search for data before they select it. Upon selecting it, its ID is loaded into a textbox. That textbox is validated. However, as soon as they search for data, the validator is fired. Is there anyway of disabling the validators until I want them to validate?
Thanks!!
David Lozzi
THANK YOU!!!!
"Brock Allen" <ba****@NOSPAMdevelop.com> wrote in message
news:47**********************@msnews.microsoft.com ... Set the Search button's CausesValidation=false
-Brock DevelopMentor http://staff.develop.com/ballen Howdy,
I have a page that has fields which have validators. What I want to do is only validate the fields when the Next button is pressed, not every time a function is called. The users are allowed to search for data before they select it. Upon selecting it, its ID is loaded into a textbox. That textbox is validated. However, as soon as they search for data, the validator is fired. Is there anyway of disabling the validators until I want them to validate?
Thanks!!
David Lozzi This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Lozzi |
last post by:
Hey All,
I have a listbox that I would like to fire an event on doubleclick. the
onDoubleClick property of the listbox isnt available be default, and I know
it will work with Javascript, but how...
|
by: Sabbaath |
last post by:
First off, I've pretty much convinced myself that the issue is that there are onmouseover events inside the div that contains an onmouseover event on it... I wrote the message below first. This was...
|
by: Brooke |
last post by:
I am having problems with controls on a panel not firing. The controls that
are directly on the form will validate, but the controls on the panel will
not validate.
I have the AutoValidate...
|
by: swethak |
last post by:
hi ,
i write the code in .htm file. It is in cgi-bin/searches/one.htm.In that i write a form submitting and validations.But validations are not worked in that .htm file. I used the same code in my...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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: 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,...
| |