Xceed Grid for WinForms v4.3 Documentation
EventValidation Sample Application
Welcome to Xceed Grid for WinForms v4.3 > Sample applications > EventValidation Sample Application

Programming languages

VB.NET, C#

Overview

This application demonstrates how to validate the content of the grid at both the cell and row level (including InsertionRow). It handles both custom validation as well as validation handled by the underlying dataset.

Demonstrates

How to use

This sample validates the content of the "CustomerID" and "Delivery Agency" columns to make sure that if the values of the cells in the "CustomerID" columns are "VINET", that only "Pickup" and "To be determined" can be selected in the "Delivery Agency" column.

Project location & filename

C#: Xceed Samples\Xceed Grid for WinForms v#.#\CSharp\EventValidation\ValidatingCS.csproj

VB.NET: Xceed Samples\Xceed Grid for WinForms v#.#\Visual Basic .NET\EventValidation\ValidatingVB.vbproj