Solved

Datagrid triggers required field validators

Posted on 2006-11-22
1
375 Views
Last Modified: 2012-06-21
Hi,

I have an aspx page with a datagrid and several text boxes. When I click the edit item button on the datagrid it triggers the required field validators on the text boxes. This stops the page from posting back and therefore I cannot edit the datagrid items. How do I stop the required field validators from firing exept for when I press the page submit button?

Thanks.
0
Comment
Question by:yvsupport
1 Comment
 
LVL 28

Accepted Solution

by:
mmarinov earned 500 total points
ID: 17996471
you have to add CauseValidation="false" to the button
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question