version 2.0.1.0 - radiobutton fix

This commit is contained in:
JenneJ
2015-11-23 12:28:39 +01:00
parent 25a97a09e2
commit 9b795bdc69
5 changed files with 50 additions and 7 deletions

View File

@@ -105,11 +105,13 @@
Case "RadioButton"
props = New RadioButtonProperties()
props.Caption = row.Item("CTRLSCR_CAPTION")
If Not IsDBNull(row.Item("CONTROL_DEF_VALUE")) Then
props.DefaultValue = row.Item("CONTROL_DEF_VALUE")
Else
props.DefaultValue = False
End If
props.DefaultValue = ClassControlValuesConverter.ToBooleanOrDefault(row.Item("CONTROL_DEF_VALUE"))
'If Not IsDBNull(row.Item("CONTROL_DEF_VALUE")) Then
' props.DefaultValue = row.Item("CONTROL_DEF_VALUE")
'Else
' props.DefaultValue = False
'End If
Case "F_AddAppointment"
props = New FunctionAddAppointment()
Case "F_AddFormData"