DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    33

    Turn off validation for DataGrid EditButton

    I have an EditButton with my datagrid that is on the same page that contains RegularExpressionValidators. However, when I click the Update button after editing a row in the datagrid it gets stopped by the validators. How may I turn off the Update button going up against the validators (which are for other controls that a treated separately from the datagrid during postback)

  2. #2
    Join Date
    Jan 2006
    Posts
    33
    Figured it out. It is apparently as easy as clicking "convert to template column" and adding CausesValidation="false" to the UpdateButton

Similar Threads

  1. Replies: 0
    Last Post: 10-24-2001, 04:09 PM
  2. Re: applet- help- the code
    By shafi in forum Java
    Replies: 1
    Last Post: 07-26-2001, 11:32 AM
  3. Validation
    By Marcia in forum Java
    Replies: 1
    Last Post: 09-14-2000, 11:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links