update How do I disable validation in a Silverlight 4 application? This seems to be something unique to RIA Services (as from my original question below). I observe this when I bind my datagrid to the list of POCOs, and I trigger a validation error in my grid (for example, entering a numeric element in a cell bound to a numeric property). How to disable verification in this case? final update
How to disable (disable) grid validation bound to classes generated by RIA services in a Silverlight application. I would like to disable validation only for this grid; There are other controls where I would like to use validation.
eg. Let's say I have a class generated by the RIA Customer service with the fields: ID, FirstName, LastName. All relevant fields in my Customer table in the database are not NULL (thus required). The collection of Customer classes is grid-bound:
myGrid.itemsSource = myListOfCustomers
And for each column in my grid, I defined a binding to one of the properties, for example.
="{Binding FirstName}"
I want my user to be able to enter anything into any of the cells in my grid without checking messages. for example Right now, entering a non-numeric number in my column with an integer identifier will display a verification message.
I have an application configured using RIA, Entity Framework 4, and Silverlight 4. It is configured in the standard manner specified in MSDN here: Walkthrough. Create RIA Services
Thanks in advance.