One Custom Field Shows and The Other Does Not


Author
Message
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I have a Form where I am trying to use 2 Custom Fields. One works as it should the other does not?

I have attached a picture showing that the Custom Field shows up in the BO Visualizer and a picture showing that it does Not show up in a MessageBox nor a Bound Text box???????

Here is my Custom Field Code:

Protected Overrides Function GetCustomBindablePropertyDescriptors() As MicroFour.StrataFrame.Business.FieldPropertyDescriptor()

Return New MicroFour.StrataFrame.Business.FieldPropertyDescriptor() { _

New MicroFour.StrataFrame.Business.ReflectionPropertyDescriptor("Cowboy_Name", GetType(MyBaseRoughStockBO)), _

New MicroFour.StrataFrame.Business.ReflectionPropertyDescriptor("Cowboy_InvertedName", GetType(MyBaseRoughStockBO)), _

New MicroFour.StrataFrame.Business.ReflectionPropertyDescriptor("PRCANUM", GetType(MyBaseRoughStockBO))}

End Function

<

Browsable(False), _



BusinessFieldDisplayInEditorAttribute(), _
Description("PRCA Number"), _

DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _

Public ReadOnly Property PRCANUM() As String

Get

' Return MyBase.RequiredFields

If Me.CurrentDataTable.Columns.Contains("Membershipcd") Then

If Not TypeOf (Me.CurrentRow.Item("membershipcd")) Is DBNull Then

Return CStr(Me.CurrentRow.Item("membershipcd")) + Me.CurrentRow.Item("membershipnumber").ToString

Else

Return ""

End If

Else

Return ""

End If

End Get

End Property

 

I'm Sorry I can not get the last part to format correctly? This is the Custom Field that Shows in the BO but not in the MessageBox nor the Bound Text Box?

TIA.

 

 

   
Attachments
ShowsinBOVisualizer.PNG (138 views, 4.00 KB)
MessageboxResult.PNG (151 views, 13.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Terry Bottorff - 13 Years Ago
Edhy Rijo - 13 Years Ago
Terry Bottorff - 13 Years Ago
Edhy Rijo - 13 Years Ago
Terry Bottorff - 13 Years Ago
                         Op's I forgot the synch list with the CF added to it. Could it be...
Terry Bottorff - 13 Years Ago
                             Hi Terry, So the problem is that it is not showing in a listview? I...
Edhy Rijo - 13 Years Ago
                                 Edhy I put a Break on the Get and I must have changed something else...
Terry Bottorff - 12 Years Ago
                                     Hi Terry, Glad it is working out.
Edhy Rijo - 12 Years Ago
                                     Well after all of this. I was getting an error every not and again so...
Terry Bottorff - 12 Years Ago
Fabian R Silva, - - 12 Years Ago
             You are welcome Fabian.
Edhy Rijo - 12 Years Ago
Terry Bottorff - 12 Years Ago
Edhy Rijo - 12 Years Ago
                         I agree I learn more here then anything I can do.
Terry Bottorff - 12 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search