Solved

Datagrid triggers required field validators

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
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.…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now