ModelMetadata.ConvertEmptyStringToNull Property
Visual Studio 2010
Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to Nothing.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Property Value
Type: System.Booleantrue if empty strings that are posted back in forms should be converted to Nothing; otherwise, false. The default value is true.
Community Additions
ADD
Show: