I just recently discovered a bug when using a picklist control with the StorageMode set to “ID”. If you are trying to preset a value on the form load, you would normally bind the underlying entity property that the control is bound to. That works fine for picklists set to StorageMode=Text but for the ID mode it does not display a value. Instead you also need to populate the web control’s PickListValue property as well. That forces the data to properly show
So a code snippet might look like this
Sage.Entity.Interfaces.ITicket t = this.BindingSource.Current as Sage.Entity.Interfaces.ITicket;
t.StatusCode = “Some picklist ID”;
MyPicklistControl.PickListValue = “Some picklist ID”