What is DetailsView.EnableModelValidation?
Asked Answered
V

1

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?

Vittorio answered 28/10, 2011 at 10:44 Comment(0)
F
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

Fanaticize answered 23/11, 2011 at 19:32 Comment(1)
The link was invalid.Flunky

© 2022 - 2024 — McMap. All rights reserved.