Turn off validation for DataGrid EditButton


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Turn off validation for DataGrid EditButton

  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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center