StrataFrame Forum

DevExpress Combo doesnt seem to work with Enum

http://forum.strataframe.net/Topic7464.aspx

By Paul Chase - 3/14/2007

I have a DevExpress Combo bound to an ENUM for lookup value's and cannot seem to get it to work however I can make a regular Strataframe combo work fine with the same settings so is there something different I need to do with the Devexpress control. 

Thanks

Dev Express Combo

SF Combo

By Trent L. Taylor - 3/14/2007

More than likely you do not have the strong-type field typed as the enum.  The SF combo will do an automatic conversion, but the value within the combo is an enum value, not an integer.  So if you want to bind an enum to a DevExpress combo you need to open up the BO Mapper and type the field as the enum as well....otherwise the value will never properly sync up.
By Paul Chase - 3/14/2007

I am sure that's what the problem is as I did not set the custom type in the mapper. I'll let you know if that isnt the problem.
By Paul Chase - 3/14/2007

That was it
By Trent L. Taylor - 3/14/2007

Yeah, I kind of figured it was...glad you got it going Smile