6

The MSDN documentation on DetailsView.EnableModelValidation is very brief:

Gets or sets a value that indicates whether data-model validation is enabled.

Figuring out that true means enabled and false means disabled is simple, I could have found out even without the documentation.

What functionality is enabled with this setting and how is it used?

Anders Abel
  • 67,989
  • 17
  • 150
  • 217

1 Answers1

2

http://blogs.msdn.com/b/davidebb/archive/2008/06/18/using-asp-net-dynamic-data-with-objectdatasource.aspx

Check out this link, it is for validating the properties on an ObjectDataSource when decorating with System.ComponentModel.DataAnnotations

iain
  • 1,693
  • 13
  • 19