I'm missing something basic. I have a CFP. Is there anything wrong with this? ( the four columns referenced are part of the BO )
After this BO is populated from a browsedialog, should I see a mykey column populated as shown below?
If not, what do I have to do to make that happen?
#region Custom Field Properties
[Description("mykey"), Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public string mykey
{
get
{
string _mykey = this.Symbol + this.Cntry_code + this.from_date.ToString() + this.thru_date.ToString();
return _mykey;
}
}
/// <summary>
/// Provider property descriptors for the custom bindable fields
/// </summary>
protected override FieldPropertyDescriptor[] GetCustomBindablePropertyDescriptors()
{
//-- Return the array of property descriptors
return new MicroFour.StrataFrame.Business.FieldPropertyDescriptor[]
{ new ReflectionPropertyDescriptor("mykey", typeof(boiSource100Symbology))};
}
#endregion
}