473,612 Members | 2,181 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stop firing validation controls

Hi,

I have designed a form which process database Insert, edit and
Delete(datagrid ).

I input userid,password and privilege in textboxes which has validation
controls to verify data keyed in. And press the button to perform insert
operation. Upto here is fine.

I want to perform edit or delete operations. I put datagrid for that one.
After clicking the Update button for the row, the validation controls are
firing again. I need to input some temporary data in the form fields to
perform actual update operation. How can i stop firing validation controls at
this stage?
Apr 25 '06 #1
1 1826

Rajani wrote:
Hi,

I have designed a form which process database Insert, edit and
Delete(datagrid ).

I input userid,password and privilege in textboxes which has validation
controls to verify data keyed in. And press the button to perform insert
operation. Upto here is fine.

I want to perform edit or delete operations. I put datagrid for that one.
After clicking the Update button for the row, the validation controls are
firing again. I need to input some temporary data in the form fields to
perform actual update operation. How can i stop firing validation controls at
this stage?


If you had read a few posts within this group before making yours -
just to make sure that you were posting to a relevant group and not
wasting your time - you would very quickly have come across something
like this:

This group covers classic ASP. Dotnet is a different technology. Try
posting your question to microsoft.publi c.dotnet.framew ork.aspnet.

or

There was no way for you to know it (except maybe by browsing through
some of the previous questions before posting yours - always a
recommended
practice), but this is a classic asp newsgroup.
ASP.Net is a different technology from classic ASP. While you may be
lucky enough to find a dotnet-savvy person here who can answer your
question, you can eliminate the luck factor by posting your question to
a newsgroup where the dotnet-savvy people hang out. I suggest
microsoft.publi c.dotnet.framew ork.aspnet.

or

This group is for classic ASP. Direct questions regarding ASP.NET to
microsoft.publi c.dotnet.framew ork.aspnet[.*] newsgroups.

--
Mike Brind

Apr 25 '06 #2

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

Similar topics

3
3027
by: Eugene Banks | last post by:
I have an ASP.NET web form that includes validation controls. When I run the app locally, the validation controls fire properly. However, once I deploy the app to the testing web server, no validation controls fire. This is the case whether I enable client side script, or if I validate the form after posting back to the web server. Has anyone ever experienced this behavior? Anyone know how to fix it?
2
3993
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the IIS Server of my Workstation (Win XP) with a text box, button and required field validator, this works fine. If I create the same page on the IIS6 Windows 2003 Server the validation control doesn't stop the post. I've tried different browsers and...
2
3187
by: Eric Maia | last post by:
I have a textbox (StartDateTextBox) in a UserControl on my page, that is supposed to have a date entered into it. I have a RequiredFieldValidator that has its ControlToValidate property set to the textbox. I also have a CompareValidator pointed to the textbox with its Type="Date." Despite all documentation to the contrary, I am getting an exception when the page first loads that is thrown by the CompareValidator, complaining that it...
8
5989
by: John Dalberg | last post by:
I have an aspx page that was developed initially in Dreamweaver as a regular html file. I have added a few textboxes and required validators. The problem is that the client side validation is not firing. Only server side is working - I have verified javascript is enabled - aspnet_client folder is present. Other aspx apps with validation work fine. - I can see validation JS code in the html plus the "onsubmit="if (!ValidatorOnSubmit())...
7
4571
by: Denise | last post by:
I just realized the DataTable_RowChanging events were firing when I called Fill method of the DataAdapter! It fires TWICE for each row loaded. I thought these were only supposed to be called when data was actually being edited. I am using bound textbox controls on the form. Could that have anything to do with it? Does anyone know how to stop the RowChanging events from firing? Thanks!
2
1806
by: Rajani | last post by:
Hi, I have designed a form which process database Insert, edit and Delete(datagrid). I input userid,password and privilege in textboxes which has validation controls to verify data keyed in. And press the button to perform insert operation. Upto here is fine. I want to perform edit or delete operations. I put datagrid for that one.
3
2169
by: mark4asp | last post by:
How can I stop my Calendar control from firing the form validation events? I have a form containing several controls which have several validation controls each. One control is a TextBox where the date is entered. Connected to this is an image button which launches a popup window containing a calendar control. The selected value from the calendar is then fed back to the TextBox.
0
1215
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 property for the form set to EnableAllowFocusChange and then I call the ValidateChildren method when the save button is clicked. If I cannot get the form to validate the controls, can I loop through each control and call the validate event? Thanks
2
1717
by: Digiplex | last post by:
I have a set of controls that uses the RequiredFieldValidator controls and I check Page.IsValid in a button's Click event. This works. However, I also have a Gridview on the same page which is not using the validation contols, and it somehow is firing the RequiredFieldValidator controls on the page. How do I stop this behavior? Thanks
0
8171
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8114
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,...
0
8615
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, 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...
0
7044
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5536
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4047
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...
1
2554
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
1
1699
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1414
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.