To display a null value when the databound value of the editor is null, set the UseNullOption property to True.
The UseNullOption is a Boolean property of the Editors like CurrencyTextBox, IntegerTextBox, DoubleTextBox, PercentTextBox that is used to display a null value when the databound value is null according to its values such as True or False.
When the value of UseNullOption is set to True, it is used to display a databound null Value, instead of the default value.
When the value of UseNullOption is set to False, it disables the Null value and display the default value zero for the control.
Here is an example that describes the use of a UseNullOption property in IntegerTextBox. Refer to the following code example.
The following screenshot displays the Null value when the UseNullOption property is set to True for an IntegerTextBox.
The following screenshot displays the default value Zero when the UseNullOption property is set to False for an IntegerTextBox
This page will automatically be redirected to the sign-in page in 10 seconds.