Solved

Datagrid triggers required field validators

Posted on 2006-11-22
1
368 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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