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

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
2 1791
> 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?


You can tell a button not to do any validation by setting the
CausesValidation property to false.

Hans Kesting
Apr 25 '06 #2
You could also try disabling the validation controls in the button click
handler for the Update.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"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?

Apr 25 '06 #3

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

Similar topics

3
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...
2
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...
2
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...
8
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...
7
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...
1
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....
3
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...
0
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...
2
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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 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.