Free Trial Buy Now

Grid Editing - Validation

#
First Name
Last Name
Age
E-mail
Arrival Date
EditNewAndrewFuller42andrew.fuller@devexpress.com4/14/2012
EditNewNancyDavolio34nancy.davolio@devexpress.com5/20/2012
EditNewMargaretPeackop48margaret.peackop.devexpress.com5/22/2012
EditNewRobertK29robert.king@devexpress.com5/21/2012
EditNewAnneDodsworth17anne.dodsworth@devexpress.com5/20/2012

Description

The ASPxGridView allows you to manually validate the edited row and display errors for invalid fields.

This demo illustrates ways in which you can include data validation in your next ASP.NET project. Validation is implemented within the RowValidating event handler. Invalid values are indicated via error icons. Hovering your mouse over the icon displays a hint along with a description of the error.

To indicate rows with invalid data, the HtmlRowPrepared event is handled. This event is raised for each data row when the corresponding row within the table has been created. In this sample, rows with invalid data are painted red.

Version: v2011 vol 2.11
Experience the DevExpress Difference Today
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.