Gets or sets a value indicating whether the value that the C1TemplateField object is bound to should be converted to null if it is Empty.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[JsonAttribute(true, true, true)]
[DefaultValueAttribute(true)]
public virtual bool ConvertEmptyStringToNull { get; set; }
Visual Basic
<JsonAttribute(True, True, True)> _
<DefaultValueAttribute(True)> _
Public Overridable Property ConvertEmptyStringToNull As Boolean
	Get
	Set

Field Value

True if the value that the C1TemplateField is bound to should be converted to null when it is empty; otherwise, false. The default value is true.

See Also