Hi Trent,
this is what I wrote in the BO:
<Browsable(False), _
BusinessFieldDisplayInEditor(), _
Description("Wahlweise Vorname oder Name2"), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _
Public ReadOnly Property [GRIDNAME2]() As System.String
Get
If Me.ADRESSTYP = "P" Then
Return Me.VORNAME
Else
Return Me.NAME2
End If
End Get
End Property
#End Region
Protected Overrides Function GetCustomBindablePropertyDescriptors() As MicroFour.StrataFrame.Business.FieldPropertyDescriptor()
'Return MyBase.GetCustomBindablePropertyDescriptors()
Return New MicroFour.StrataFrame.Business.FieldPropertyDescriptor() { _
New MicroFour.StrataFrame.Business.ReflectionPropertyDescriptor( _
"GRIDNAME2", GetType(KundenBO))}
End Function
I can see no difference?
Thanks a lot and best regards
Thomas